X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=6bed15b927167a4dd9e3f26096d29195f1268fcf;hb=d64494c39c71f6a045bc69405f4f3e21450ec24a;hp=b4ba1c259ebd7d8901ec7380b980712a68dbf3d7;hpb=a3820b8ace7bd9fd03ab4401d5aa0e63d416817e;p=Pman.Core diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index b4ba1c25..6bed15b9 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -67,15 +67,13 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject if ($this->onid == 0) { return $c; // empty dataobject. } + print_r($c);exit; + $c->autoJoin(); - if(!$c->get($this->onid)){ - return false; + if ($c->get($this->onid)) { + return $c; } - - - //$c->autoJoin(); - - return $c; + return false; }