Passed
Pull Request — master (#329)
by Mirko
07:20
created
local/stat/coordstat.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     $year = substr($cache['date_created'], 0, 4);
27 27
     if ($year >= 2005 && $year <= date('Y') && ($lat != 0 || $long != 0)) {
28 28
         $years[$year] = true;
29
-        $liste[$lat][$long]['caches'][$year] ++;
29
+        $liste[$lat][$long]['caches'][$year]++;
30 30
     }
31 31
 }
32 32
 mysql_free_result($rs);
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $year = substr($cache['date'], 0, 4);
51 51
         if ($year >= 2005 && $year <= date('Y') && ($lat != 0 || $long != 0)) {
52 52
             $years[$year] = true;
53
-            $liste[$lat][$long]['logs'][$year] ++;
53
+            $liste[$lat][$long]['logs'][$year]++;
54 54
         }
55 55
     }
56 56
     mysql_free_result($rs);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 while ($cache = sql_fetch_assoc($rs)) {
68 68
     $lat = floor($cache['latitude'] / $grid);
69 69
     $long = floor($cache['longitude'] / $grid);
70
-    $liste[$lat][$long]['caches']['all'] ++;
70
+    $liste[$lat][$long]['caches']['all']++;
71 71
     $liste[$lat][$long]['logs']['all'] += $cache['logs'];
72 72
 }
73 73
 mysql_free_result($rs);
Please login to merge, or discard this patch.