diff options
Diffstat (limited to 'app/Controllers/feedController.php')
| -rwxr-xr-x | app/Controllers/feedController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 8ee3d5324..d43f05d4a 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -470,10 +470,11 @@ class FreshRSS_feed_Controller extends Minz_ActionController { } if ($simplePie != null) { - if (trim($feed->name()) == '') { + if ($feed->name(true) == '') { //HTML to HTML-PRE //ENT_COMPAT except '&' $name = strtr(html_only_entity_decode($simplePie->get_title()), array('<' => '<', '>' => '>', '"' => '"')); - $feedProperties['name'] = $name == '' ? $feed->url() : $name; + $feed->_name($name); + $feedProperties['name'] = $feed->name(false); } if (trim($feed->website()) == '') { $website = html_only_entity_decode($simplePie->get_link()); |
