From: Edward Date: Wed, 26 Jun 2013 04:46:05 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=6cbd11e7a8f0ca041e9c00bff0a7d2a9e4126ad4 DataObjects/Core_notify.php --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index b4ba1c25..75436531 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. } - - if(!$c->get($this->onid)){ - return false; + print_r('in??'); + $c->autoJoin(); + print_r('in1??'); + if ($c->get($this->onid)) { + return $c; } - - - //$c->autoJoin(); - - return $c; + return false; }