FIX
This commit is contained in:
@ -232,7 +232,7 @@ abstract class Repository implements RepositoryInterface
|
|||||||
$query = $this->getQueryBuilder()
|
$query = $this->getQueryBuilder()
|
||||||
->select()
|
->select()
|
||||||
->from($this->getTable())
|
->from($this->getTable())
|
||||||
->where([['id', '?']])
|
->where(['id = ?'])
|
||||||
->limit(1);
|
->limit(1);
|
||||||
return $this->load($this->getConnection()->execute($query, [$id])->getAsArray()[0]);
|
return $this->load($this->getConnection()->execute($query, [$id])->getAsArray()[0]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user