summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-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);