Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
02f8bb0b4f | |||
d3771d8844 |
@ -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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user