projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0fff2
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 27 Nov 2014 08:35:59 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 27 Nov 2014 08:35:59 +0000
(16:35 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
b4fde9b
..
4f0d684
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-83,7
+83,13
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
$roo->jerr("you can not delete a record of a successfull delivery");
}
}
-
+ function beforeInsert($request,$roo)
+ {
+ if (empty($request['act_when']) && !empty($request['act_start'])) {
+ $this->act_start($request['act_start']);
+ }
+
+ }
function act_start($set = false)
{