Skip to content

Commit

Permalink
Fixed issue: SQL error in browse response module when counting answers
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9782 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Feb 12, 2011
1 parent 706e7ec commit bd880ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/browse.php
Expand Up @@ -732,7 +732,8 @@
}

//LETS COUNT THE DATA
$dtquery = "SELECT count(*) FROM $sql_from $sql_where";
//$dtquery = "SELECT count(*) FROM $sql_from $sql_where";
$dtquery = "SELECT count(*) FROM $sql_from";
if ($sql_where!="")
{
$dtquery .=" WHERE $sql_where";
Expand Down

0 comments on commit bd880ff

Please sign in to comment.