little typo in FAQ counter

git-svn-id: svn://svn.cccv.de/engel-system@327 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2008-12-24 08:43:28 +00:00
parent 00e2881ebe
commit e71ae4ec90
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
function noAnswer() {
global $con;
$SQL = "SELECT UID FROM Questions WHERE (Answer=\"\")";
$SQL = "SELECT UID FROM Questions WHERE `AID`='0'";
$Res=mysql_query($SQL, $con);
return mysql_num_rows($Res);