gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14539 - gauger


From: gnunet
Subject: [GNUnet-SVN] r14539 - gauger
Date: Fri, 25 Feb 2011 03:08:41 +0100

Author: bartpolot
Date: 2011-02-25 03:08:41 +0100 (Fri, 25 Feb 2011)
New Revision: 14539

Modified:
   gauger/explore.php
Log:
Fixed metrics sorting


Modified: gauger/explore.php
===================================================================
--- gauger/explore.php  2011-02-25 00:48:46 UTC (rev 14538)
+++ gauger/explore.php  2011-02-25 02:08:41 UTC (rev 14539)
@@ -106,11 +106,11 @@
         }
     }
 }
-asort(&$metrics);
-asort(&$metrics_c);
+
 foreach($metrics_c as $id => $a) {
-    asort(&$metrics_c[$id]);
+    ksort(&$metrics_c[$id]);
 }
+ksort(&$metrics_c);
 $d->close();
 // echo '<pre>';
 // print_r($metrics_c);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]