mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 03:04:31 -04:00
Fix broken cron regression 6541 (#6548)
Fix https://github.com/FreshRSS/FreshRSS/issues/6547 Regression https://github.com/FreshRSS/FreshRSS/pull/6541
This commit is contained in:
1 parent
f99c8d5f54
commit
86f48db4a7
2 files changed
+5
-3
No files matched your search
+2
-2
@@ -106,8 +106,8 @@ class FreshRSS_View extends Minz_View {
|
||||
public string $rss_url = '';
|
||||
public string $rss_base = '';
|
||||
public bool $internal_rendering = false;
|
||||
public string $description;
|
||||
public string $image_url;
|
||||
public string $description = '';
|
||||
public string $image_url = '';
|
||||
|
||||
// Content preview
|
||||
public string $fatalError;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user