projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a6eb6
)
DataObjects/Core_watch.php
author
Chris
<chris@roojs.com>
Tue, 3 Sep 2013 05:41:29 +0000
(13:41 +0800)
committer
Chris
<chris@roojs.com>
Tue, 3 Sep 2013 05:41:29 +0000
(13:41 +0800)
DataObjects/Core_watch.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_watch.php
b/DataObjects/Core_watch.php
index
57112bf
..
20c2697
100644
(file)
--- a/
DataObjects/Core_watch.php
+++ b/
DataObjects/Core_watch.php
@@
-179,6
+179,7
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
$nn->onid = $event->on_id;
foreach($watches as $watch) {
+ $n = clone($nn);
if (!$watch->person_id) { // no people??? bugs in watch table
$dom = explode(':',$watch->medium);
if (count($dom) != 2) {
@@
-203,7
+204,7
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
}
- $n = clone($nn);
+
$n->trigger_person_id = $event->person_id;
$n->trigger_event_id = $event->id;
$n->person_id = $watch->person_id;