aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Inverle <inverle@proton.me> 2025-07-14 09:53:37 +0200
committerGravatar GitHub <noreply@github.com> 2025-07-14 09:53:37 +0200
commita7e29fa2587e97f026a6f894d8c9e5917ee99148 (patch)
treed0fb6b7a43ea52a857d86fe1f5b77f2a39947615 /p
parent8385eadf49ddb5e6f46fc34155aec66005d9350b (diff)
Fix HTML queries with a single feed (#7730)
* Fix HTML queries with single feed * Suggestion
Diffstat (limited to 'p')
-rw-r--r--p/api/query.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/query.php b/p/api/query.php
index 3a3da6218..5deedc932 100644
--- a/p/api/query.php
+++ b/p/api/query.php
@@ -142,7 +142,7 @@ switch ($type) {
Minz_Error::error(404, "Feed {$id} not found!");
die();
}
- $view->feeds = [ $feed ];
+ $view->feeds = [$id => $feed];
$view->categories = [];
break;
default: