DataObjects/Core_notify.php
[Pman.Core] / DataObjects / Core_notify.php
index b4ba1c2..31057c2 100644 (file)
@@ -68,14 +68,12 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
             return $c; // empty dataobject.
         }
         
-        if(!$c->get($this->onid)){
-            return false;
-        }
-        
+        $c->autoJoin();
         
-        //$c->autoJoin();
-        
-        return $c;
+        if ($c->get($this->onid)) {
+            return $c;
+        }
+        return false;
         
     }