summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2008-12-24 08:43:28 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2008-12-24 08:43:28 +0000
commite71ae4ec9093f33ba36cde0456f539ee3cc6d52e (patch)
treecd477e67dff6f1e25f5ca17cfeb15603bd8185f5
parent00e2881ebeb3b18b89903b7a663a40482db725cd (diff)
little typo in FAQ counter
git-svn-id: svn://svn.cccv.de/engel-system@327 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-xincludes/funktion_faq.php2
1 files changed, 1 insertions, 1 deletions
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);