This commit is contained in:
2022-09-12 17:29:21 -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]);
}