Skip to content

Commit

Permalink
Dev: removed $this->completed (reverted from commit 5a8cdd3)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Feb 24, 2017
1 parent 28d49bb commit c5b2429
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -696,6 +696,7 @@ private function getArgs()
'notanswered' => $this->notanswered ,
'invalidSQList' => $this->invalidSQList ,
'filenotvalidated' => $this->filenotvalidated ,
'completed' => $this->completed ,
'content' => $this->content ,
'blocks' => $this->blocks ,
'notvalidated' => $this->notvalidated ,
Expand Down Expand Up @@ -1268,6 +1269,7 @@ private function moveSubmitIfNeeded()
$completed .= "<a href='" . Yii::app()->getController()->createUrl("survey/index/sid/{$surveyid}/move/clearall") . "'>" . gT("Clear Responses") . "</a><br /><br />\n";
}

$this->completed = $completed;

}else{

Expand Down Expand Up @@ -1313,8 +1315,11 @@ private function moveSubmitIfNeeded()
if ($thissurvey['publicstatistics'] == 'Y'){
$thissurvey['aCompleted']['aPublicStatistics']['show'] = true;
$thissurvey['aCompleted']['aPublicStatistics']['sUrl'] = Yii::app()->getController()->createUrl("/statistics_user/action/",array('surveyid'=>$surveyid,'language'=>App()->getLanguage()));

}

$this->completed = $completed;

//*****************************************

$_SESSION[$LEMsessid]['finished'] = true;
Expand Down Expand Up @@ -1413,6 +1418,7 @@ private function setVarFromArgs($args)
$this->notanswered = isset( $notanswered )?$notanswered :null ;
$this->invalidSQList = isset( $invalidSQList )?$invalidSQList :null ;
$this->filenotvalidated = isset( $filenotvalidated )?$filenotvalidated :null ;
$this->completed = isset( $completed )?$completed :null ;
$this->content = isset( $content )?$content :null ;
$this->blocks = isset( $blocks )?$blocks :null ;
$this->notvalidated = isset( $notvalidated )?$notvalidated :null;
Expand Down

0 comments on commit c5b2429

Please sign in to comment.