diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-24 20:38:39 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-24 20:38:39 -0500 |
commit | 051bf1c9dbb5733242c7657d6d507389206b33ee (patch) | |
tree | 9f1a61fa8558dd572b7c577f51599586e3c48a7e /app/Model/TaskModification.php | |
parent | 60f3d7f83d23014f9cfb7d8494d6cebd2f8b24a3 (diff) |
Add configurable task priority
Diffstat (limited to 'app/Model/TaskModification.php')
-rw-r--r-- | app/Model/TaskModification.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskModification.php b/app/Model/TaskModification.php index a0ad292c..eee7b2e0 100644 --- a/app/Model/TaskModification.php +++ b/app/Model/TaskModification.php @@ -88,7 +88,7 @@ class TaskModification extends Base $this->dateParser->convert($values, array('date_started'), true); $this->removeFields($values, array('another_task', 'id')); $this->resetFields($values, array('date_due', 'date_started', 'score', 'category_id', 'time_estimated', 'time_spent')); - $this->convertIntegerFields($values, array('is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate')); + $this->convertIntegerFields($values, array('priority', 'is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate')); $values['date_modification'] = time(); } |