Parse error: add missing ']'.
authorMatt Selsky <selsky@columbia.edu>
Tue, 23 Jun 2009 13:09:22 +0000 (09:09 -0400)
committerMatt Selsky <selsky@columbia.edu>
Tue, 23 Jun 2009 13:09:22 +0000 (09:09 -0400)
folks/scripts/popularity.php

index f16b855..67a3a16 100644 (file)
@@ -83,7 +83,7 @@ foreach ($apps as $app => $defs) {
             $cli->fatal($row2);
         }
 
-        @$users[$row[1] += $row2[0] * $defs['modify'];
+        @$users[$row[1]] += $row2[0] * $defs['modify'];
         $total += $row2[0] * $defs['modify'];
     }
 }