Removed training semikolon from SQL statement
authorBernhard Froehlich <bernhard@cacert.org>
Sun, 18 Mar 2012 16:28:33 +0000 (17:28 +0100)
committerBernhard Froehlich <bernhard@cacert.org>
Sun, 18 Mar 2012 16:28:33 +0000 (17:28 +0100)
scripts/cron/updatesort.php

index aa20b09..1c80756 100755 (executable)
@@ -21,7 +21,7 @@
 
 
        //mysql_query("update users set assurer=0");
-       $query = "select notary.`to` as uid from notary group by notary.`to` having sum(points)>=100;";
+       $query = "select notary.`to` as uid from notary group by notary.`to` having sum(points)>=100";
        $res = mysql_query($query);
        while($row = mysql_fetch_assoc($res))
        {