From: Alan Knowles Date: Thu, 27 Nov 2014 08:36:40 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2bff5281230348363bcdc467492fcb23e2ddffe2 DataObjects/Core_notify.php --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 4f0d6841..cfa2a06f 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -90,6 +90,13 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject } } + function beforeUpdate($old, $request,$roo) + { + if (empty($request['act_when']) && !empty($request['act_start'])) { + $this->act_start($request['act_start']); + } + } + function act_start($set = false) {