diff options
Diffstat (limited to 'p/api/query.php')
| -rw-r--r-- | p/api/query.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/query.php b/p/api/query.php index 1c2bda32d..3a3da6218 100644 --- a/p/api/query.php +++ b/p/api/query.php @@ -134,7 +134,7 @@ switch ($type) { Minz_Error::error(404, "Category {$id} not found!"); die(); } - $view->categories = [ $cat ]; + $view->categories = [$cat->id() => $cat]; break; case 'f': // Feed $feed = FreshRSS_Category::findFeed(FreshRSS_Context::categories(), $id); |
