Skip to content

Commit

Permalink
Fixed finishing the survey
Browse files Browse the repository at this point in the history
  • Loading branch information
hschottm committed Feb 28, 2019
1 parent 48bb124 commit 8964d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/elements/ContentSurvey.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ protected function createSurveyPage($pagerow, $pagenumber, $validate = true, $go
$questions = \Hschottm\SurveyBundle\SurveyQuestionModel::findBy('pid', $pagerow['id'], ['order' => 'sorting']);

if (null == $questions) {
return [];
$questions = [];
}

foreach ($questions as $questionModel) {
Expand Down

0 comments on commit 8964d5a

Please sign in to comment.