projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DataObjects/I18n.php
[Pman.Core]
/
DataObjects
/
I18n.php
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
1edb61b
..
7cf04c1
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-137,11
+137,10
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
if (!empty($q['_filtered']) && !empty($this->ltype)) {
$cfg = $this->cfg();
if (!empty($q['_filtered']) && !empty($this->ltype)) {
$cfg = $this->cfg();
- print_r($cfg);exit;
$filter = $cfg[$this->ltype];
$filter = $cfg[$this->ltype];
-
- $this->whereAddIn('lkey', $filter, 'string');
-
+ if(is_array($filter)){
+
$this->whereAddIn('lkey', $filter, 'string');
+ }
}
}
}
}