summaryrefslogtreecommitdiffstats
path: root/lib/Service
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2020-10-09 19:08:30 +0200
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-10-09 20:38:58 +0200
commit1fcab6e6c6bd5dd496fbeda41dabb668e17e9ada (patch)
tree1335fa5a62c038585ccd624bec53eacbe8c0fd7a /lib/Service
parenta74491ecdefb022c3cd9712ae46bff7a71c8eade (diff)
fix multiple results for guid_hash
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/ItemServiceV2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ItemServiceV2.php b/lib/Service/ItemServiceV2.php
index c88a7293a..b4cb16e22 100644
--- a/lib/Service/ItemServiceV2.php
+++ b/lib/Service/ItemServiceV2.php
@@ -75,7 +75,7 @@ class ItemServiceV2 extends Service
public function insertOrUpdate(Item $item)
{
try {
- $db_item = $this->mapper->findByGuidHash($item->getGuidHash());
+ $db_item = $this->mapper->findByGuidHash($item->getFeedId(), $item->getGuidHash());
// Transfer user modifications
$item->setUnread($db_item->isUnread())