From 893f0455f521e14eb06ad04d925f5cb2aa966514 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 9 Sep 2021 11:50:45 +0800 Subject: [PATCH] * Fix bug when creating todo for mr. --- module/mr/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/mr/model.php b/module/mr/model.php index aa81b9f93d..e323cf7604 100644 --- a/module/mr/model.php +++ b/module/mr/model.php @@ -330,7 +330,7 @@ class mrModel extends model $todo->type = 'custom'; $todo->idvalue = $rawTodo->id; $todo->pri = 3; - $todo->name = $lang->mr->common . ": " . $rawTodo->target->title; + $todo->name = $this->lang->mr->common . ": " . $rawTodo->target->title; $todo->desc = $rawTodo->target->description . "
" . '' . $this->todoDescriptionLink($gitlabID, $projectID) .''; $todo->status = 'wait'; $todo->finishedBy = '';