summaryrefslogtreecommitdiff
path: root/app/Model/CategoryModel.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-10-02 10:16:30 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-10-02 10:16:30 -0700
commitb6e0b9cc09c3a2853c5b52b9e0f0b845d88d99bf (patch)
treed7dc26966bb83c69e2a460b7464b647574f75c66 /app/Model/CategoryModel.php
parent497f36983c7b02ca8579f785da62efba88e22656 (diff)
Duplicate category color when duplicating projects
Diffstat (limited to 'app/Model/CategoryModel.php')
-rw-r--r--app/Model/CategoryModel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/CategoryModel.php b/app/Model/CategoryModel.php
index 024d0026..95e9e97e 100644
--- a/app/Model/CategoryModel.php
+++ b/app/Model/CategoryModel.php
@@ -212,7 +212,7 @@ class CategoryModel extends Base
{
$categories = $this->db
->table(self::TABLE)
- ->columns('name', 'description')
+ ->columns('name', 'description', 'color_id')
->eq('project_id', $src_project_id)
->asc('name')
->findAll();