|
|
@ -70,7 +70,7 @@ function getHallOfFameEntryCountFull($round = '', $title = '', $userid = '') {
|
|
|
|
if(!is_numeric($round) && !is_numeric($userid)) {
|
|
|
|
if(!is_numeric($round) && !is_numeric($userid)) {
|
|
|
|
return 0;
|
|
|
|
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));
|
|
|
|
$row = mysql_fetch_row(mysql_query($sql));
|
|
|
|
return $row[0];
|
|
|
|
return $row[0];
|
|
|
|
}
|
|
|
|
}
|
|
|
|