mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-24 15:04:19 +00:00
Admin Workflow - Fix Tested Issues
This commit is contained in:
+4
@@ -162,6 +162,10 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
//Get returned question (previous or next)
|
||||
$returnQuestion = $this->fetchNextQuestionQAProcessor->execute($request, $previousAnswer);
|
||||
|
||||
if($returnQuestion && $returnQuestion->is_start){
|
||||
$isNoGoingBack = 1;
|
||||
}
|
||||
|
||||
//When a questionnaire ended, return back the first question
|
||||
if(is_null($returnQuestion)){
|
||||
$returnQuestion = $this->fetchFirstQuestionQAProcessor->execute($request);
|
||||
|
||||
Reference in New Issue
Block a user