i18n_translate(ltype, lkey, 'en') as lval_en
");
}
- if (!empty($q['_as_code_and_title'])) {
+ if (!empty($q['_as_code_and_title'])) {
$this->selectAdd();
$this->selectAdd("
{$tn}.lval as title,
{$tn}.lkey as code
");
+ $tn = $this->tableName();
if (!empty($q['_title'])) {
$this->whereAdd("{$tn}.lval like '{$this->escape($_REQUEST['_title'])}%'");
}