summaryrefslogtreecommitdiffstats
path: root/bl
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 11:08:14 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 11:08:14 +0100
commitd0fde9dbce129b0dbb94d577d9685764c7d5ea4b (patch)
treeef7724db5fa4cf373a4c2393972ec4e65953593a /bl
parent3560ac0555ef2fbb7320e946c36d46aeef71b0b5 (diff)
also use feedid because feed + guid hash are unique together
Diffstat (limited to 'bl')
-rw-r--r--bl/feedbl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php
index 3f7fe0ceb..5ab4d8953 100644
--- a/bl/feedbl.php
+++ b/bl/feedbl.php
@@ -113,7 +113,7 @@ class FeedBl extends Bl {
$this->itemMapper->insert($item);
} catch(\DatabaseException $ex){
$existing = $this->itemMapper->findByGuidHash(
- $item->getGuidHash(), $userId);
+ $item->getGuidHash(), $feedId, $userId);
$item->setId($existing->getId());
$this->itemMapper->update($item);
}