From: Edward Date: Wed, 4 Mar 2015 03:50:57 +0000 (+0800) Subject: DataObjects/I18n.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=3c5bf94b5268992910347f541992ffae2925f38a DataObjects/I18n.php --- 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'); + } } }