DataObjects/Core_notify.php
[Pman.Core] / DataObjects / Core_notify.php
index 2c24142..f3cb60f 100644 (file)
@@ -64,13 +64,16 @@ 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.
         }
-        
+        $test = DB_DataObject::factory('crm_mailing_list_message');
+        $test->get(1);
+        print_r($test);exit;
         $c->autoJoin();
+        
         if ($c->get($this->onid)) {
-            print_r($c);exit;
             return $c;
         }
         return false;