diff options
author | anoy <anoymouserver+github@mailbox.org> | 2021-01-14 10:19:06 +0100 |
---|---|---|
committer | anoy <anoymouserver@users.noreply.github.com> | 2021-01-15 15:16:41 +0100 |
commit | fdf4fa454d5f485f193130b24a79ea836c3f0278 (patch) | |
tree | a075b8f16c34153f14301f9097ec7b7948fc4a02 /lib | |
parent | db5e0bd5d0da32b9bd3c5e7a7537cac42febaa07 (diff) |
fix TypeError in ItemMapper
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/ItemMapper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php index 9b0c04d1d..2b07a570f 100644 --- a/lib/Db/ItemMapper.php +++ b/lib/Db/ItemMapper.php @@ -281,7 +281,7 @@ class ItemMapper extends Mapper $this->getOperator($oldestFirst) . ' ? '; $params[] = $offset; } - $sql = $this->makeSelectQuery($sql, $oldestFirst, $search); + $sql = $this->makeSelectQuery($sql, $oldestFirst); return $this->findEntitiesIgnoringNegativeLimit($sql, $params, $limit); } @@ -308,7 +308,7 @@ class ItemMapper extends Mapper $sql .= 'AND `items`.`id` ' . $this->getOperator($oldestFirst) . ' ? '; $params[] = $offset; } - $sql = $this->makeSelectQuery($sql, $oldestFirst, $search); + $sql = $this->makeSelectQuery($sql, $oldestFirst); return $this->findEntitiesIgnoringNegativeLimit($sql, $params, $limit); } |