From 5d8376fcbbf69fdd2296e59e48d45d511323599d Mon Sep 17 00:00:00 2001 From: radiskull Date: Wed, 30 Nov 2011 16:24:31 +0000 Subject: [PATCH] #67 gefixt (and vergessen) --- ag/include/halloffame.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag/include/halloffame.inc.php b/ag/include/halloffame.inc.php index 4072133..208dac6 100644 --- a/ag/include/halloffame.inc.php +++ b/ag/include/halloffame.inc.php @@ -70,7 +70,7 @@ function getHallOfFameEntryCountFull($round = '', $title = '', $userid = '') { if(!is_numeric($round) && !is_numeric($userid)) { return 0; } - $sql = 'select count(*) from highscore where art=\''.$title.'\' runde='.$round.' and userid='.$userid; + $sql = 'SELECT COUNT(*) FROM highscore WHERE art=\''.$title.'\' AND runde='.$round.' AND userid='.$userid; $row = mysql_fetch_row(mysql_query($sql)); return $row[0]; }