projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b792223
)
DataObjects/Core_watch.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 07:15:30 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 07:15:30 +0000
(15:15 +0800)
DataObjects/Core_watch.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_watch.php
b/DataObjects/Core_watch.php
index
9b465c0
..
8b249e9
100644
(file)
--- a/
DataObjects/Core_watch.php
+++ b/
DataObjects/Core_watch.php
@@
-114,7
+114,8
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
$w->ontable = $event->on_table;
$w->whereAdd('onid = 0 OR onid='. ((int) $event->on_id));
$w->event = $event->action;
-
+ $w->whereAdd('person_id != '. (int) $event->person_id)));
+
$watches = $w->fetchAll();