forked from deblan/side_menu
fix SQL Exception InvalidFieldNameException (#93)
This commit is contained in:
parent
007ac2bb8e
commit
0f73ad42c4
|
@ -26,7 +26,12 @@ class LangRepository
|
|||
$qb = $this->db->getQueryBuilder();
|
||||
|
||||
$qb->select($qb->createFunction('DISTINCT configvalue'))
|
||||
->where('configkey="lang" and appid="core" and configvalue<>"en"')
|
||||
->where('configkey=:configkey and appid=:appid and configvalue<>:configvalue')
|
||||
->setParameters([
|
||||
'configkey' => 'lang',
|
||||
'appid' => 'core',
|
||||
'configvalue' => 'en',
|
||||
])
|
||||
->from('preferences')
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue