diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-25 23:23:56 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-25 23:24:47 +0100 |
commit | 866f5eef01f95c692061acac7a6946db3949e61b (patch) | |
tree | 2ad83bab23b4d0201ea7373683c11eeb08ffb90d /bl/feedbl.php | |
parent | 18680c8c448bc296b649c7eaa745468c301bff0f (diff) |
fix bad setter usage
Diffstat (limited to 'bl/feedbl.php')
-rw-r--r-- | bl/feedbl.php | 3 |
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; } |