From e71ae4ec9093f33ba36cde0456f539ee3cc6d52e Mon Sep 17 00:00:00 2001 From: cookie Date: Wed, 24 Dec 2008 08:43:28 +0000 Subject: [PATCH] little typo in FAQ counter git-svn-id: svn://svn.cccv.de/engel-system@327 29ba0400-6e00-0410-a75a-ca02368028f8 --- includes/funktion_faq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/funktion_faq.php b/includes/funktion_faq.php index 7b6b526c..641ea38d 100755 --- a/includes/funktion_faq.php +++ b/includes/funktion_faq.php @@ -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);