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');
+ }
}
}