2 Commits
2.2.2 ... 2.2.3

Author SHA1 Message Date
02f8bb0b4f FIX 2022-09-12 17:29:32 -03:00
d3771d8844 FIX: condition in old format 2022-09-12 17:29:04 -03:00

View File

@ -232,7 +232,7 @@ abstract class Repository implements RepositoryInterface
$query = $this->getQueryBuilder()
->select()
->from($this->getTable())
->where([['id', '?']])
->where(['id = ?'])
->limit(1);
return $this->load($this->getConnection()->execute($query, [$id])->getAsArray()[0]);
}