summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-23 09:49:26 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-23 09:49:26 -0400
commit7b53d47d467115a173c642526a7d2474a22f88fb (patch)
tree43bd4f9c16d894028977f2d61476e74778527993 /app/Controller/Project.php
parenta7167f63c51a5fc24f7d5c6212cd125cee8cdb69 (diff)
Improve user interface
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 5cb244a2..e539f364 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -2,7 +2,7 @@
namespace Controller;
-use Model\Task;
+use Model\Task as TaskModel;
/**
* Project controller
@@ -96,7 +96,7 @@ class Project extends Base
$filters = array(
array('column' => 'project_id', 'operator' => 'eq', 'value' => $project_id),
- array('column' => 'is_active', 'operator' => 'eq', 'value' => Task::STATUS_CLOSED),
+ array('column' => 'is_active', 'operator' => 'eq', 'value' => TaskModel::STATUS_CLOSED),
);
$tasks = $this->task->find($filters);