diff options
Diffstat (limited to 'app/Controller/CategoryController.php')
-rw-r--r-- | app/Controller/CategoryController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/CategoryController.php b/app/Controller/CategoryController.php index e3f2406b..c2b8c2a6 100644 --- a/app/Controller/CategoryController.php +++ b/app/Controller/CategoryController.php @@ -41,6 +41,7 @@ class CategoryController extends BaseController $this->response->html($this->template->render('category/create', array( 'values' => $values + array('project_id' => $project['id']), + 'colors' => $this->colorModel->getList(), 'errors' => $errors, 'project' => $project, ))); @@ -87,6 +88,7 @@ class CategoryController extends BaseController $this->response->html($this->template->render('category/edit', array( 'values' => empty($values) ? $category : $values, + 'colors' => $this->colorModel->getList(), 'errors' => $errors, 'project' => $project, ))); |