From 5eb0cafdb780ceae3694435d8548b4a186362837 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 23 Aug 2023 15:13:05 +0800 Subject: [PATCH] + Add default value. --- module/task/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/task/model.php b/module/task/model.php index 4038fbc227..911e887356 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -4680,6 +4680,8 @@ class taskModel extends model $task->consumed = round($task->consumed, 1) . $this->lang->execution->workHourUnit; $task->left = round($task->left, 1) . $this->lang->execution->workHourUnit; + $task->design = ''; + $task->story = ''; if(!empty($task->storyID)) { if(common::hasPriv('story', 'view'))