DataObjects/Core_enum.php
authorChris <chris@roojs.com>
Mon, 18 Feb 2013 03:36:30 +0000 (11:36 +0800)
committerChris <chris@roojs.com>
Mon, 18 Feb 2013 03:36:30 +0000 (11:36 +0800)
DataObjects/Core_enum.php

index 1fb88ea..84b33b5 100644 (file)
@@ -97,7 +97,9 @@ class Pman_Core_DataObjects_Core_enum extends DB_DataObject
     
     function fetchAllByType($etype, $fetchArg1=false, $fetchArg2=false, $fetchArg3=false)
     {
-        
+        $x = DB_DataObject::factory('core_enum');
+        $x->active = 1;
+        return $x->fetchAll($fetchArg1, $fetchArg2, $fetchArg3);
     }
     
     function lookupObject($etype,$name, $create= false)