From b94e8f95ac18165030c797c4e8ead73a9f0a2bf9 Mon Sep 17 00:00:00 2001 From: anoy Date: Sat, 16 Jan 2021 11:51:21 +0100 Subject: [PATCH] fix typo in string template value Signed-off-by: anoy Signed-off-by: Marco Nassabain --- lib/Db/ItemMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php index 2b07a570fd..17f6638def 100644 --- a/lib/Db/ItemMapper.php +++ b/lib/Db/ItemMapper.php @@ -225,7 +225,7 @@ public function findAllNewFolder(?int $id, int $updatedSince, bool $showAll, str $sql = $this->buildStatusQueryPart($showAll); $folderWhere = is_null($id) ? 'IS' : '='; - $sql .= "AND `feeds`.`folder_id` ${$folderWhere} ? " . + $sql .= "AND `feeds`.`folder_id` ${folderWhere} ? " . 'AND `items`.`last_modified` >= ? '; $sql = $this->makeSelectQuery($sql); $params = [$userId, $id, $updatedSince];