From 2bff5281230348363bcdc467492fcb23e2ddffe2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 27 Nov 2014 16:36:40 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- 2.39.2