diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-10-02 11:12:36 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-10-02 11:12:36 -0700 |
commit | a08d8673e9cd65e3c9050b09d73252848a1ceecd (patch) | |
tree | a83a07d969b5d95ccd7c4d70a1d9028aa901d7eb /app/Model | |
parent | b6e0b9cc09c3a2853c5b52b9e0f0b845d88d99bf (diff) |
Duplicate tag color when duplicating projects
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/TagDuplicationModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |