From a08d8673e9cd65e3c9050b09d73252848a1ceecd Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 2 Oct 2018 11:12:36 -0700 Subject: Duplicate tag color when duplicating projects --- app/Model/TagDuplicationModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/TagDuplicationModel.php') diff --git a/app/Model/TagDuplicationModel.php b/app/Model/TagDuplicationModel.php index fb0d8170..ac54f5d0 100644 --- a/app/Model/TagDuplicationModel.php +++ b/app/Model/TagDuplicationModel.php @@ -26,7 +26,7 @@ class TagDuplicationModel extends Base $results = array(); foreach ($tags as $tag) { - $results[] = $this->tagModel->create($dst_project_id, $tag['name']); + $results[] = $this->tagModel->create($dst_project_id, $tag['name'], $tag['color_id']); } return ! in_array(false, $results, true); -- cgit v1.2.3