diff options
Diffstat (limited to 'ajax/setallitemsread.php')
-rw-r--r-- | ajax/setallitemsread.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ajax/setallitemsread.php b/ajax/setallitemsread.php index ba084299d..1a3038550 100644 --- a/ajax/setallitemsread.php +++ b/ajax/setallitemsread.php @@ -41,7 +41,7 @@ switch ($feedId) { // necessary $success = false; if($mostRecentItemId !== 0) { - $mostRecentItem = $itemMapper->find($mostRecentItemId); + $mostRecentItem = $itemMapper->findById($mostRecentItemId); } foreach($items as $item) { // FIXME: this should compare the modified date |