Skip to content

Commit

Permalink
Dev: fixed issue : Token with alow edit completion don't need restart…
Browse files Browse the repository at this point in the history
… the session
  • Loading branch information
Shnoulle committed Nov 15, 2013
1 parent 7f83cb4 commit 4cf6640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function action()
$this->_createNewUserSessionAndRedirect($surveyid, $redata, __LINE__, $asMessage);
}

if ( $this->_isSurveyFinished($surveyid) )
if ( $this->_isSurveyFinished($surveyid) && ($thissurvey['alloweditaftercompletion'] != 'Y' || $thissurvey['tokenanswerspersistence'] != 'Y')) // No test for response update
{
$aReloadUrlParam=array('lang'=>$clang->langcode,'newtest'=>'Y');
if($clienttoken){$aReloadUrlParam['token']=$clienttoken;}
Expand Down

0 comments on commit 4cf6640

Please sign in to comment.