summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
Diffstat (limited to 'controller')
-rw-r--r--controller/feedcontroller.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php
index 1a29731b4..063a38e3d 100644
--- a/controller/feedcontroller.php
+++ b/controller/feedcontroller.php
@@ -85,9 +85,11 @@ class FeedController extends Controller {
} elseif ($feedType === FeedType::FEED){
$this->feedBl->find($feedId, $userId);
+ // if its the first launch, those values will be null
} elseif($feedType === null || $feedId === null){
throw new BLException('');
}
+
} catch (BLException $ex){
$feedId = 0;
$feedType = FeedType::SUBSCRIPTIONS;