DataObjects/I18n.php
[Pman.Core] / DataObjects / I18n.php
index 1edb61b..7cf04c1 100644 (file)
@@ -137,11 +137,10 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         
         if (!empty($q['_filtered']) && !empty($this->ltype)) {
             $cfg = $this->cfg();
-            print_r($cfg);exit;
             $filter = $cfg[$this->ltype];
-            
-            $this->whereAddIn('lkey', $filter, 'string'); 
-            
+            if(is_array($filter)){
+                $this->whereAddIn('lkey', $filter, 'string'); 
+            }
             
         }
     }