summaryrefslogtreecommitdiffstats
path: root/bl/feedbl.php
diff options
context:
space:
mode:
Diffstat (limited to 'bl/feedbl.php')
-rw-r--r--bl/feedbl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php
index 105a43a05..3f7fe0ceb 100644
--- a/bl/feedbl.php
+++ b/bl/feedbl.php
@@ -68,6 +68,7 @@ class FeedBl extends Bl {
// insert feed
$feed->setFolderId($folderId);
+ $feed->setUserId($userId);
$feed = $this->mapper->insert($feed);
// insert items
@@ -88,7 +89,7 @@ class FeedBl extends Bl {
$feeds = $this->mapper->findAll();
foreach($feeds as $feed){
try {
- $this->update($feed->getId(), $feed->getUser());
+ $this->update($feed->getId(), $feed->getUserId());
} catch(BLException $ex){
continue;
}