summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-09-01 21:01:39 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-09-01 21:02:00 +0200
commit37158f214163b73bf45a501b8c1bcaeafe478c7c (patch)
tree9893ef7ef605686d6ead08acd233abbfd431a824 /ajax
parent50b1b38d038a5def9606fdac4bcd944a65b09da6 (diff)
corrected param names for load, added enum for types
Diffstat (limited to 'ajax')
-rw-r--r--ajax/loadfeed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ajax/loadfeed.php b/ajax/loadfeed.php
index adcdb6f07..51c0a5070 100644
--- a/ajax/loadfeed.php
+++ b/ajax/loadfeed.php
@@ -17,7 +17,7 @@ OCP\JSON::callCheck();
$userid = OCP\USER::getUser();
-$feedId = trim($_POST['feedId']);
+$feedId = $_POST['id'];
OCP\Config::setUserValue(OCP\USER::getUser(), 'news', 'lastViewedFeed', $feedId);