summaryrefslogtreecommitdiff
path: root/app/Model/TaskModificationModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-13 17:49:27 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-13 17:49:27 -0400
commitffe61abc6910670c5c2c243eb82d9f5851f06c6b (patch)
tree0a1833f8a7f22ac239f8914f2e870a881e630e41 /app/Model/TaskModificationModel.php
parent4ffaba2ba0dd6b5810adea1916080c3b645f3d29 (diff)
Improve form helpers and add more hooks
Diffstat (limited to 'app/Model/TaskModificationModel.php')
-rw-r--r--app/Model/TaskModificationModel.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/TaskModificationModel.php b/app/Model/TaskModificationModel.php
index 16b48f3d..6e16fbec 100644
--- a/app/Model/TaskModificationModel.php
+++ b/app/Model/TaskModificationModel.php
@@ -106,6 +106,8 @@ class TaskModificationModel extends Base
$this->helper->model->convertIntegerFields($values, array('priority', 'is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate'));
$values['date_modification'] = time();
+
+ $this->hook->reference('model:task:modification:prepare', $values);
}
/**