DataObjects/Core_watch.php
[Pman.Core] / DataObjects / Core_watch.php
index 57010b3..80a49a1 100644 (file)
@@ -134,7 +134,7 @@ class Pman_Core_DataObjects_Core_watch extends DB_DataObject
     
     function notifyEvent($event)
     {
-        DB_DataObject::DebugLevel(1);
+        //DB_DataObject::DebugLevel(1);
         // see if there are any watches on events..
         // notify everyone flagged except the person doing it...
         // this is very basic logic... -
@@ -165,7 +165,7 @@ class Pman_Core_DataObjects_Core_watch extends DB_DataObject
         
         foreach($watches as $watch) {
             if (!$watch->person_id) { // no people??? bugs in watch table
-                $dom = explode(':',$watch->event);
+                $dom = explode(':',$watch->medium);
                 if (count($dom) != 2) {
                     continue;
                 }