DataObjects/Core_watch.php
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:15:30 +0000 (15:15 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:15:30 +0000 (15:15 +0800)
DataObjects/Core_watch.php

index 9b465c0..8b249e9 100644 (file)
@@ -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();