DataObjects/Core_notify.php
authorEdward <edward@roojs.com>
Wed, 26 Jun 2013 04:46:05 +0000 (12:46 +0800)
committerEdward <edward@roojs.com>
Wed, 26 Jun 2013 04:46:05 +0000 (12:46 +0800)
DataObjects/Core_notify.php

index b4ba1c2..7543653 100644 (file)
@@ -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;
         
     }