summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/feedapi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/feedapi.php b/external/feedapi.php
index 3acd87a0e..8eabd6942 100644
--- a/external/feedapi.php
+++ b/external/feedapi.php
@@ -209,7 +209,7 @@ class FeedAPI extends Controller {
*/
public function update() {
$userId = $this->params('userId');
- $feedId = $this->params('feedId');
+ $feedId = (int) $this->params('feedId');
try {
$this->feedBusinessLayer->update($feedId, $userId);