summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-05-09 22:49:06 +0200
committerFelix Dörre <felix@dogcraft.de>2015-05-09 22:49:06 +0200
commitd3f6224c5a88278a730d2ee1dabde13718b3dec1 (patch)
tree550b66ebb6efd67e3685ee1c54c84c4b512f9e4b
parent0d35a10b2c7ca38ea7bab56d872b1001d81a6735 (diff)
downloadcacert-devel-bug-1383.tar.gz
cacert-devel-bug-1383.tar.xz
cacert-devel-bug-1383.zip
bug 1383: fix another undeclared variable ($rc)bug-1383
-rw-r--r--www/ac.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/ac.php b/www/ac.php
index 73805e4..b997d94 100644
--- a/www/ac.php
+++ b/www/ac.php
@@ -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++;