Duplicate tag color when duplicating projects

This commit is contained in:
Frédéric Guillot
2018-10-02 11:12:36 -07:00
parent b6e0b9cc09
commit a08d8673e9
2 changed files with 4 additions and 2 deletions

View File

@@ -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);