X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=0727e3aeb074bad37cbafd48f6a9557aa13d2f42;hp=0f4a19d4ea2072177b59c67ffe7267dde1f128d8;hb=9cdd34ce7c08b7d9c781f243a6a2526cd6b8da79;hpb=f4c56e8ba0b70b63fb15664081fc0d9bf40fb935 diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 0f4a19d4..0727e3ae 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -64,11 +64,14 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject return $set; } $c = DB_DataObject::factory($this->ontable); + if ($this->onid == 0) { return $c; // empty dataobject. } - - // $c->autoJoin(); + $test = DB_DataObject::factory('crm_mailing_list'); + $test->get(1); + print_r($test);exit; + $c->autoJoin(); if ($c->get($this->onid)) { return $c;