DataObjects/I18n.php
authorEdward <edward@roojs.com>
Wed, 4 Mar 2015 03:50:57 +0000 (11:50 +0800)
committerEdward <edward@roojs.com>
Wed, 4 Mar 2015 03:50:57 +0000 (11:50 +0800)
DataObjects/I18n.php

index d59015f..7cf04c1 100644 (file)
@@ -138,8 +138,9 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         if (!empty($q['_filtered']) && !empty($this->ltype)) {
             $cfg = $this->cfg();
             $filter = $cfg[$this->ltype];
-            $this->whereAddIn('lkey', $filter, 'string'); 
-            
+            if(is_array($filter)){
+                $this->whereAddIn('lkey', $filter, 'string'); 
+            }
             
         }
     }