diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-02 09:30:55 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-01-02 23:49:00 -0100 |
commit | 43fc850c18398bded7884c804b94daab80dabca8 (patch) | |
tree | c793f4cabb2f3963681a6a37c8d5df49ddebeb50 | |
parent | 88a19839c8a8defab6eac58d3aab8da026244d65 (diff) |
limit update to id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Db/CacheActorsRequest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Db/CacheActorsRequest.php b/lib/Db/CacheActorsRequest.php index 58ac8c7a..bca8b39d 100644 --- a/lib/Db/CacheActorsRequest.php +++ b/lib/Db/CacheActorsRequest.php @@ -134,9 +134,10 @@ class CacheActorsRequest extends CacheActorsRequestBuilder { } else { $iconId = $actor->getIconId(); } - $qb->set('icon_id', $qb->createNamedParameter($iconId)); + $this->limitToIdString($qb, $actor->getId()); + $qb->execute(); } |