kopia lustrzana https://github.com/nextcloud/social
not sensitive case during getFromId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/72/head
rodzic
2ec04d611e
commit
4a0956b5ac
|
@ -112,7 +112,7 @@ class CacheActorsRequest extends CacheActorsRequestBuilder {
|
|||
*/
|
||||
public function getFromId(string $id): Person {
|
||||
$qb = $this->getCacheActorsSelectSql();
|
||||
$this->limitToIdString($qb, $id);
|
||||
$this->limitToIdString($qb, $id, false);
|
||||
$this->leftJoinCacheDocuments($qb, 'icon_id');
|
||||
|
||||
$cursor = $qb->execute();
|
||||
|
|
|
@ -109,9 +109,10 @@ class CoreRequestBuilder {
|
|||
*
|
||||
* @param IQueryBuilder $qb
|
||||
* @param string $id
|
||||
* @param bool $cs
|
||||
*/
|
||||
protected function limitToIdString(IQueryBuilder &$qb, string $id) {
|
||||
$this->limitToDBField($qb, 'id', $id);
|
||||
protected function limitToIdString(IQueryBuilder &$qb, string $id, bool $cs = true) {
|
||||
$this->limitToDBField($qb, 'id', $id, $cs);
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue