Skip to content

Commit

Permalink
Dev: move displayFirstPageIfNeeded() with showTokenOrCaptchaFormsIfNe…
Browse files Browse the repository at this point in the history
…eded()
  • Loading branch information
LouisGac committed Feb 20, 2017
1 parent 1a5c8be commit d0e37f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -134,6 +134,7 @@ public function run($surveyid,$args)
// TODO: cehck if languagechanger shown in token/captcha form
// TOKEN/CAPTCHA FORMS
$this->showTokenOrCaptchaFormsIfNeeded();
$this->displayFirstPageIfNeeded();
}


Expand All @@ -142,8 +143,7 @@ public function run($surveyid,$args)
if ( !$this->previewgrp && !$this->previewquestion){
$this->initMove(); // main methods to init session, LEM, moves, errors, etc
$aPrivateVariables = $this->getArgs();

$this->displayFirstPageIfNeeded();

$this->saveAllIfNeeded();
$this->saveSubmitIfNeeded();
$this->setNotAnsweredAndNotValidated();
Expand Down

0 comments on commit d0e37f8

Please sign in to comment.