diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 11:08:14 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 11:08:14 +0100 |
commit | d0fde9dbce129b0dbb94d577d9685764c7d5ea4b (patch) | |
tree | ef7724db5fa4cf373a4c2393972ec4e65953593a /bl/feedbl.php | |
parent | 3560ac0555ef2fbb7320e946c36d46aeef71b0b5 (diff) |
also use feedid because feed + guid hash are unique together
Diffstat (limited to 'bl/feedbl.php')
-rw-r--r-- | bl/feedbl.php | 2 |
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); } |