DataObjects/Core_enum.php
authorChris <chris@roojs.com>
Mon, 18 Feb 2013 06:37:54 +0000 (14:37 +0800)
committerChris <chris@roojs.com>
Mon, 18 Feb 2013 06:37:54 +0000 (14:37 +0800)
DataObjects/Core_enum.php

index 84b33b5..7cff225 100644 (file)
@@ -98,6 +98,7 @@ 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->etype = $etype;
         $x->active = 1;
         return $x->fetchAll($fetchArg1, $fetchArg2, $fetchArg3);
     }