projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66dcd3e
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 27 Nov 2014 08:36:40 +0000
(16:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 27 Nov 2014 08:36:40 +0000
(16:36 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
4f0d684
..
cfa2a06
100644
(file)
--- 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)
{