aboutsummaryrefslogtreecommitdiff
path: root/p/api/fever.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/api/fever.php')
-rw-r--r--p/api/fever.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index c83b28da3..1bc7068ab 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -474,7 +474,7 @@ final class FeverAPI
$group_ids = explode(',', $_REQUEST['group_ids']);
$feeds = [];
foreach ($group_ids as $id) {
- $category = $categoryDAO->searchById($id); //TODO: Transform to SQL query without loop! Consider FreshRSS_CategoryDAO::listCategories(true)
+ $category = $categoryDAO->searchById((int)$id); //TODO: Transform to SQL query without loop! Consider FreshRSS_CategoryDAO::listCategories(true)
if ($category == null) {
continue;
}