bug 1383: fix another undeclared variable ($rc) bug-1383
authorFelix Dörre <felix@dogcraft.de>
Sat, 9 May 2015 20:49:06 +0000 (22:49 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sat, 9 May 2015 20:49:06 +0000 (22:49 +0200)
www/ac.php

index 73805e4..b997d94 100644 (file)
@@ -36,6 +36,7 @@
                        `locations`.`regid`=`regions`.`id` and `locations`.`ccid`=`countries`.`id`
                        order by `locations`.`acount` DESC, `locations`.`name` ASC limit 10";
        $res = mysql_query($query);
+       $rc = 0;
        while($row = mysql_fetch_assoc($res))
        {
                $rc++;