No internal link creation on subtask to task conversion if language is not English
This commit is contained in:
committed by
Frédéric Guillot
parent
55a3b242bf
commit
11edef20d2
@@ -39,7 +39,7 @@ class SubtaskTaskConversionModel extends Base
|
|||||||
));
|
));
|
||||||
|
|
||||||
if ($task_id !== false) {
|
if ($task_id !== false) {
|
||||||
$link = $this->linkModel->getByLabel(t('is a child of'));
|
$link = $this->linkModel->getByLabel('is a child of');
|
||||||
if ($link) {
|
if ($link) {
|
||||||
$this->taskLinkModel->create($task_id, $subtask['task_id'], $link['id']);
|
$this->taskLinkModel->create($task_id, $subtask['task_id'], $link['id']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user