From b54f8762792c7f2d5f7fe50db9c134e479574f89 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Mon, 14 Oct 2019 10:57:45 +0800 Subject: [PATCH] * Finish task #6429. --- module/bug/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/bug/model.php b/module/bug/model.php index 009e72fb0b..841acec8be 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -632,6 +632,7 @@ class bugModel extends model ->setIF($this->post->resolution == '' and $this->post->resolvedDate =='', 'status', 'active') ->setIF($this->post->resolution != '', 'confirmed', 1) ->setIF($this->post->story != false and $this->post->story != $oldBug->story, 'storyVersion', $this->loadModel('story')->getVersion($this->post->story)) + ->setIF(!$this->post->linkBug, 'linkBug', '') ->remove('comment,files,labels,uid,contactListMenu') ->get();