summaryrefslogtreecommitdiffstats
path: root/controller/feedcontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/feedcontroller.php')
-rw-r--r--controller/feedcontroller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php
index f5c060562..c542ea1d8 100644
--- a/controller/feedcontroller.php
+++ b/controller/feedcontroller.php
@@ -72,8 +72,8 @@ class FeedController extends Controller {
*/
public function active(){
$userId = $this->api->getUserId();
- $feedId = (int) $this->api->getUserValue($userId, 'lastViewedFeedId');
- $feedType = $this->api->getUserValue($userId, 'lastViewedFeedType');
+ $feedId = (int) $this->api->getUserValue('lastViewedFeedId');
+ $feedType = $this->api->getUserValue('lastViewedFeedType');
// cast from null to int is 0
if($feedType !== null){