Skip to content

Commit

Permalink
Fixed issue #6657: Impossible to recover survey
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 5, 2012
1 parent 8fff467 commit 81ee4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/frontend_helper.php
Expand Up @@ -1743,7 +1743,7 @@ function buildsurveysession($surveyid,$previewGroup=false)

UpdateSessionGroupList($surveyid, $_SESSION['survey_'.$surveyid]['s_lang']);

$sQuery = "SELECT count(*),\n"
$sQuery = "SELECT count(*)\n"
." FROM {{groups}} INNER JOIN {{questions}} ON {{groups}}.gid = {{questions}}.gid\n"
." WHERE {{questions}}.sid=".$surveyid."\n"
." AND {{groups}}.language='".$_SESSION['survey_'.$surveyid]['s_lang']."'\n"
Expand Down

0 comments on commit 81ee4ec

Please sign in to comment.