summaryrefslogtreecommitdiffstats
path: root/lib/Db
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-01-27 15:38:51 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commitf3c4d744c011df8d18c49495f5111a17197b7038 (patch)
treef8067fdc7c762523e79700106c85978ff8bfcb53 /lib/Db
parent98d72bac541a726691cc23a1ac0e75148f618b6b (diff)
🐛 Share Item: feed_id not nullable, copy feed_id
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Db')
-rw-r--r--lib/Db/ItemMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php
index 8b5f42815..765c67698 100644
--- a/lib/Db/ItemMapper.php
+++ b/lib/Db/ItemMapper.php
@@ -570,7 +570,7 @@ class ItemMapper extends NewsMapper
// copy/initialize fields
$newItem->setUnread(true);
$newItem->setStarred(false);
- $newItem->setFeedId(null);
+ $newItem->setFeedId($item->getFeedId());
$newItem->setFingerprint($item->getFingerprint());
$newItem->setContentHash($item->getContentHash());
$newItem->setSearchIndex($item->getSearchIndex());