From 59573900a6746ba4904839a6b63e80224e459d74 Mon Sep 17 00:00:00 2001 From: ci Date: Sun, 23 Apr 2023 17:30:56 +0800 Subject: [PATCH] * Revert the code. --- module/task/model.php | 2 +- module/task/view/view.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/model.php b/module/task/model.php index ec28293d82..ba3aee97d6 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -3857,7 +3857,7 @@ class taskModel extends model if($task->fromBug) echo html::a(helper::createLink('bug', 'view', "id=$task->fromBug"), "[BUG#$task->fromBug]", '', "class='bug'"); break; case 'type': - echo $this->lang->task->typeList[$task->type]; + echo zget($this->lang->task->typeList, $task->type, $task->type); break; case 'status': $storyChanged ? print("{$this->lang->story->changed}") : print(" " . $this->processStatus('task', $task) . ""); diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php index eb4340fbf4..88b85c75c8 100644 --- a/module/task/view/view.html.php +++ b/module/task/view/view.html.php @@ -274,7 +274,7 @@ task->type;?> - task->typeList[$task->type];?> + lang->task->typeList, $task->type, $task->type);?> task->status;?>