diff --git a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php index b78f84e0..2f18fc4d 100644 --- a/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php +++ b/app/Classes/Modules/Questionnaires/ControllersLogic/UpdateNextQuestionV1AdminWFLogic.php @@ -129,7 +129,7 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic //Marked data that has already been processed so that it does not appear again $isNoGoingBack = null; - if($currentQuestion && $currentQuestion['is_end'] === 1){ + if($currentQuestion && $currentQuestion['is_end'] === 1 && !$request->has('isPrevious')){ $booking = Booking::where('id', $questionMetadata['id'])->first(); $key1 = "admin_workflow_processed";