Skip to content

Commit

Permalink
Merge pull request #504 from sickpig/fix/pgsql-qry-scrollbar
Browse files Browse the repository at this point in the history
* FIX: the query introduced by commit 93d30e4
  • Loading branch information
LouisGac committed Jun 14, 2016
2 parents 9fce65b + 2677cf5 commit 44b10db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/frontend_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ function buildsurveysession($surveyid,$preview=false)
." JOIN {{question_attributes}} ON {{question_attributes}}.qid = {{questions}}.qid"
." WHERE {{questions}}.sid=".$surveyid."\n"
." AND {{question_attributes}}.attribute='hidden'"
." AND {{question_attributes}}.value=1"
." AND {{question_attributes}}.value='1'"
." AND {{questions}}.language='".App()->getLanguage()."'\n"
." AND {{questions}}.parent_qid=0\n";
$totalHiddenQuestions = Yii::app()->db->createCommand($sQuery)->queryScalar();
Expand Down

0 comments on commit 44b10db

Please sign in to comment.