From 7bef7d587239fc7b4bd593b4d9c36d45125b8bb3 Mon Sep 17 00:00:00 2001 From: Jim Mason Date: Mon, 25 Sep 2023 19:19:09 +0100 Subject: [PATCH] rss: fixed link in invalid response --- controllers/RSS.php | 2 +- controllers/templates/default/rss/invalid.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/RSS.php b/controllers/RSS.php index e6d33048..4bfbf1c6 100644 --- a/controllers/RSS.php +++ b/controllers/RSS.php @@ -153,6 +153,6 @@ public function recentAdds() { } public function emitError() { - $this->params['feeds'][] = 'invalid'; + $this->params['feeds'][] = 'invalid'; } } diff --git a/controllers/templates/default/rss/invalid.xml b/controllers/templates/default/rss/invalid.xml index 2fabee61..39b8d056 100644 --- a/controllers/templates/default/rss/invalid.xml +++ b/controllers/templates/default/rss/invalid.xml @@ -1,7 +1,7 @@ {% autoescape 'xml' %} Invalid feed: {{ app.request.feed }} - {{ baseUrl }} + {{ app.baseUrl }} Invalid feed: {{ app.request.feed }} {% endautoescape %}