DataObjects/Core_enum.php
authorChris <chris@roojs.com>
Mon, 3 Jun 2013 06:08:58 +0000 (14:08 +0800)
committerChris <chris@roojs.com>
Mon, 3 Jun 2013 06:08:58 +0000 (14:08 +0800)
DataObjects/Core_enum.php

index eaf55de..b430049 100644 (file)
@@ -142,7 +142,7 @@ class Pman_Core_DataObjects_Core_enum extends DB_DataObject
         if ($ce->count() > 0) {
             return $ce->fetchAll('id');
         }
-        return 0;
+        return array();
     }
     
     function fetchAllByType($etype, $fetchArg1=false, $fetchArg2=false, $fetchArg3=false)