diff options
| author | 2024-06-06 22:06:12 +0200 | |
|---|---|---|
| committer | 2024-06-06 22:06:12 +0200 | |
| commit | 86f48db4a7a422602407fc488b434bbfa3e81b24 (patch) | |
| tree | a9eb88f36ee0811b5a847edda838faa4d2d1ed9a /app/views | |
| parent | f99c8d5f54c67e0abc3f3189b4f5e3e4571e114c (diff) | |
Fix broken cron regression 6541 (#6548)
Fix https://github.com/FreshRSS/FreshRSS/issues/6547
Regression https://github.com/FreshRSS/FreshRSS/pull/6541
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/rss.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/index/rss.phtml b/app/views/index/rss.phtml index d37701bbd..9b87f0a77 100644 --- a/app/views/index/rss.phtml +++ b/app/views/index/rss.phtml @@ -9,15 +9,17 @@ <channel> <title><?= $this->rss_title ?></title> <link><?= $this->html_url ?></link> - <description><?= $this->description ?></description> + <description><?= $this->description ?: _t('index.feed.rss_of', $this->rss_title) ?></description> <pubDate><?= date('D, d M Y H:i:s O') ?></pubDate> <lastBuildDate><?= gmdate('D, d M Y H:i:s') ?> GMT</lastBuildDate> <atom:link href="<?= $this->rss_url ?>" rel="self" type="application/rss+xml" /> + <?php if ($this->image_url !== ''): ?> <image> <url><?= $this->image_url ?></url> <title><?= $this->rss_title ?></title> <link><?= $this->html_url ?></link> </image> + <?php endif; ?> <?php foreach ($this->entries as $item) { if (!$this->internal_rendering) { |
