gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23898 - gauger/web


From: gnunet
Subject: [GNUnet-SVN] r23898 - gauger/web
Date: Wed, 19 Sep 2012 11:35:33 +0200

Author: bartpolot
Date: 2012-09-19 11:35:33 +0200 (Wed, 19 Sep 2012)
New Revision: 23898

Modified:
   gauger/web/plot.php
Log:
- fix warning

Modified: gauger/web/plot.php
===================================================================
--- gauger/web/plot.php 2012-09-19 09:27:27 UTC (rev 23897)
+++ gauger/web/plot.php 2012-09-19 09:35:33 UTC (rev 23898)
@@ -140,7 +140,7 @@
         $counters = $hosts[$host];
         if($cg == 0) $g = $counters;
         foreach($g as $graph) {
-            if(array_search($graph, $counters) === FALSE) continue;
+            if(!$counters || array_search($graph, $counters) === FALSE) 
continue;
             $unit = get_counter_unit($graph);
             if($left_unit === null) {
                 $left_unit = $unit;




reply via email to

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