Skip to content

Commit

Permalink
Dev: Small MSSQL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 5, 2020
1 parent 5a48908 commit dece010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/questionedit.php
Expand Up @@ -1350,7 +1350,7 @@ private function getCompiledSurveyInfo(&$oQuestion) {
->select('title')
->from('{{questions}}')
->where('sid=:sid', [':sid'=>$oSurvey->sid])
->where('parent_qid=0')
->andWhere('parent_qid=0')
->queryColumn();
$isActive = $oSurvey->isActive;
$questionCount = safecount($aQuestionTitles);
Expand Down

0 comments on commit dece010

Please sign in to comment.