DataObjects/Core_watch.php
[Pman.Core] / DataObjects / Core_watch.php
index d84775f..149bba3 100644 (file)
@@ -20,6 +20,9 @@
  *        medium = "REVIEW" << eg. review needed..
  *        
  *
+ *  if onid == 0 then it will monitor all changes to that table..
+ *
+ *
  * 
  * 
  */
@@ -198,7 +201,7 @@ class Pman_Core_DataObjects_Core_watch extends DB_DataObject
             
             // does this watch already have a flag...
             $nf = clone($n);
-            $nf->whereAdd("sent ><'2000-01-01'");
+            $nf->whereAdd("sent '2000-01-01'");
             //$nf->whereAdd('sent < act_when');
             if ($nf->count()) {
                 // we have a item in the queue for that waiting to be sent..