summaryrefslogtreecommitdiffstats
path: root/controller/itemcontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/itemcontroller.php')
-rw-r--r--controller/itemcontroller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php
index 3fa422eab..23509fec2 100644
--- a/controller/itemcontroller.php
+++ b/controller/itemcontroller.php
@@ -55,8 +55,8 @@ class ItemController extends Controller {
$type = (int) $this->params('type');
$id = (int) $this->params('id');
- $this->api->setUserValue($userId, 'lastViewedFeedId', $id);
- $this->api->setUserValue($userId, 'lastViewedFeedType', $type);
+ $this->api->setUserValue('lastViewedFeedId', $id);
+ $this->api->setUserValue('lastViewedFeedType', $type);
if($limit !== null){
$offset = (int) $this->params('offset', 0);