From 2003a9bf9938a6b376472aec9d0c0b044a12ccf6 Mon Sep 17 00:00:00 2001 From: daitingting Date: Sun, 8 Jan 2023 02:31:02 +0000 Subject: [PATCH] * Finish task #82067. --- module/task/control.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index 457a2d6734..6c544a5e84 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -228,8 +228,10 @@ class task extends control if($this->post->after == 'continueAdding') { + $storyParam = $this->post->story ? $this->post->story : ''; + $response['message'] = $this->lang->task->successSaved . $this->lang->task->afterChoices['continueAdding']; - $response['locate'] = $this->createLink('task', 'create', "executionID=$executionID&storyID={$this->post->story}&moduleID=$moduleID"); + $response['locate'] = $this->createLink('task', 'create', "executionID=$executionID&storyID={$storyParam}&moduleID=$moduleID"); return $this->send($response); } elseif($this->post->after == 'toTaskList')