Pman/Roo.php
authorjohn <john@roojs.com>
Mon, 17 Jul 2017 06:21:08 +0000 (14:21 +0800)
committerjohn <john@roojs.com>
Mon, 17 Jul 2017 06:21:08 +0000 (14:21 +0800)
Pman/Roo.php

index 9694ad6..cf5121e 100644 (file)
@@ -1545,7 +1545,7 @@ class Pman_Roo extends Pman
         
         $x = DB_DataObject::factory($tab);
         
-        if (!is_a($x, 'DB_DataObject')) {
+        if (!is_a($x, 'DB_DataObject') && !is_a($x, 'PDO_DataObject')) {
             $this->jerr('invalid url - no dataobject');
         }