diff --git a/ProcessMaker/Http/Controllers/TaskController.php b/ProcessMaker/Http/Controllers/TaskController.php index 2782da3e9e..c51fb07695 100755 --- a/ProcessMaker/Http/Controllers/TaskController.php +++ b/ProcessMaker/Http/Controllers/TaskController.php @@ -92,7 +92,7 @@ public function edit(ProcessRequestToken $task, string $preview = '') $task->allow_interstitial = $interstitial['allow_interstitial']; $task->definition = $task->getDefinition(); $task->requestor = $task->processRequest->user; - $task->draft = $task->draft(); + $task->draft = $task->draft; $element = $task->getDefinition(true); $screenFields = $screenVersion ? $screenVersion->screenFilteredFields() : []; $taskDraftsEnabled = TaskDraft::draftsEnabled(); diff --git a/resources/views/tasks/edit.blade.php b/resources/views/tasks/edit.blade.php index 74b8187072..53941a8029 100644 --- a/resources/views/tasks/edit.blade.php +++ b/resources/views/tasks/edit.blade.php @@ -146,7 +146,10 @@ class="btn d-block mr-0 ml-auto button-collapse"