Skip to content

Commit

Permalink
Dev: use renderError() for "This group contains no questions".
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 30, 2017
1 parent 36dac14 commit 2e13127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -133,8 +133,8 @@ public function run($surveyid,$args)

$moveResult = LimeExpressionManager::JumpTo($gseq + 1, true);
if (is_null($moveResult)){
echo gT('This group contains no questions. You must add questions to this group before you can preview it');
exit;
$sMessage = gT('This group contains no questions. You must add questions to this group before you can preview it');
renderError('', $sMessage, $thissurvey, $sTemplateViewPath );
}

if (isset($moveResult)){
Expand Down

0 comments on commit 2e13127

Please sign in to comment.