diff options
author | nashe <thomas@chauchefoin.fr> | 2017-07-13 12:13:33 +0100 |
---|---|---|
committer | nashe <thomas@chauchefoin.fr> | 2017-07-13 12:13:33 +0100 |
commit | c0b51f5f9621c6063af8677637ea120e9bab8ab5 (patch) | |
tree | 2c43eb5c641ba4e5977d6b0cd7269116ea782be8 /admin/subscriptions.php | |
parent | 98931f76847928a418b798344ccd714bacde7591 (diff) | |
download | planet-c0b51f5f9621c6063af8677637ea120e9bab8ab5.tar planet-c0b51f5f9621c6063af8677637ea120e9bab8ab5.tar.gz planet-c0b51f5f9621c6063af8677637ea120e9bab8ab5.tar.bz2 planet-c0b51f5f9621c6063af8677637ea120e9bab8ab5.tar.xz planet-c0b51f5f9621c6063af8677637ea120e9bab8ab5.zip |
Do not encode feed title twice
cf. #95
Diffstat (limited to 'admin/subscriptions.php')
-rwxr-xr-x | admin/subscriptions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/subscriptions.php b/admin/subscriptions.php index f2d51f5..1a79d1b 100755 --- a/admin/subscriptions.php +++ b/admin/subscriptions.php @@ -46,7 +46,7 @@ if (isset($_POST['opml']) || isset($_POST['add'])) { $feed->set_feed_url($_POST['url']); $feed->init(); $feed->handle_content_type(); - $person['name'] = $feed->get_title(); + $person['name'] = html_entity_decode($feed->get_title()); $person['website'] = $feed->get_permalink(); $person['feed'] = $feed->feed_url; $person['isDown'] = '0'; |