Skip to content

Commit

Permalink
Dev: fixed a small typo breaking answers browsing.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8581 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Apr 12, 2010
1 parent 1a4e35c commit c9e8144
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/browse.php
Expand Up @@ -428,7 +428,7 @@
}
elseif (incompleteAnsFilterstate() == "filter")
{
$dtquery .= " submitdate is NOT NULL ";
$dtquery .= " submitdate IS NOT NULL ";
if (stripcslashes($_POST['sql']) !== "")
{
$dtquery .= " AND ";
Expand All @@ -454,7 +454,7 @@
}
elseif (incompleteAnsFilterstate() == "filter")
{
$dtquery .= " WHERE submitdate is IS NOT NULL ";
$dtquery .= " WHERE submitdate IS NOT NULL ";
}
$dtquery .= " ORDER BY id";
}
Expand Down Expand Up @@ -600,7 +600,7 @@
$num_total_answers=0;
$num_completed_answers=0;
$gnquery = "SELECT count(id) FROM $surveytable";
$gnquery2 = "SELECT count(id) FROM $surveytable WHERE submitdate is not null";
$gnquery2 = "SELECT count(id) FROM $surveytable WHERE submitdate IS NOT NULL";
$gnresult = db_execute_num($gnquery);
$gnresult2 = db_execute_num($gnquery2);

Expand Down

0 comments on commit c9e8144

Please sign in to comment.