diff options
| author | 2022-05-13 23:14:09 +0200 | |
|---|---|---|
| committer | 2022-05-13 23:14:09 +0200 | |
| commit | 7f0c378482e81972e448bfbce1ae44ffd5935501 (patch) | |
| tree | a6eab672588e310c7866f96aa565995755d4f737 /app/Controllers | |
| parent | 6e369e83bc136eb61058eadf60d561a477ec2eb8 (diff) | |
Fix favicons update (#4358)
Better update the favicons when the URL changes
Diffstat (limited to 'app/Controllers')
| -rwxr-xr-x | app/Controllers/feedController.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 758f39c88..4788f9639 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -540,12 +540,15 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController { } if (trim($feed->website()) == '') { $website = html_only_entity_decode($simplePie->get_link()); - $feedProperties['website'] = $website == '' ? $feed->url() : $website; + $feed->_website($website == '' ? $feed->url() : $website); + $feedProperties['website'] = $feed->website(); + $feed->faviconPrepare(); } if (trim($feed->description()) == '') { $description = html_only_entity_decode($simplePie->get_description()); if ($description != '') { - $feedProperties['description'] = $description; + $feed->_description($description); + $feedProperties['description'] = $feed->description(); } } } |
