X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FI18n.php;h=7cf04c14bca0cbc6b1af02fd42648d9466582e74;hb=3c5bf94b5268992910347f541992ffae2925f38a;hp=d59015fa2979483366baa5c8c305e849b349c498;hpb=eee01eed2776c31e6b3562ba2ffc20f0cba58d17;p=Pman.Core diff --git a/DataObjects/I18n.php b/DataObjects/I18n.php index d59015fa..7cf04c14 100644 --- a/DataObjects/I18n.php +++ b/DataObjects/I18n.php @@ -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'); + } } }