Skip to content

Problem with quoted field in query #130

Open
@ilbassa

Description

@ilbassa

I suggest to modify query on row 121 of models/LanguageTranslate.php Language
from
return static::find()->where('id = :id AND language != :language', [':id' => $this->id, 'language' => $this->language])->all();
to
return static::find()->where(['id'=> $this->id])->andWhere(['!=', 'language', $this->language])->all();

this help with db ORACLE that has problem with case sensitive field names.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions