projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684ab78
)
DataObjects/Core_notify_recur.php
author
Chris
<chris@roojs.com>
Thu, 24 May 2012 09:46:39 +0000
(17:46 +0800)
committer
Chris
<chris@roojs.com>
Thu, 24 May 2012 09:46:39 +0000
(17:46 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
fe9f923
..
7b50633
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-96,7
+96,16
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
}
foreach($notifytimes as $newTimes){
$newSearch = DB_DataObject::factory('core_notify');
-
+ $newSearch->act_start = $newTimes;
+ if($newSearch->find(true)){
+ $newSearch->id = $w->id;
+ $newSearch->recur_id = $w->id;
+ $newSearch->act_when = $w->dtstart;
+ $newSearch->onid = $w->onid;
+ $newSearch->ontable = $w->ontable;
+ $newSearch->person_id = $w->person_id;
+ $newSearch->act_start = $w->dtstart;
+ }
}
}