diff options
author | Thomas <tcit@tcit.fr> | 2015-08-08 20:56:56 +0200 |
---|---|---|
committer | Thomas <tcit@tcit.fr> | 2015-08-08 20:56:56 +0200 |
commit | 31680f500043d97711aa434bd6591d05dd2ae617 (patch) | |
tree | 6f70cbca48ca997147c02fb150873418a956276d /inc | |
parent | 483090f1e1f0eecd67369709e7357f2e41ab5f8a (diff) | |
download | wallabag-31680f500043d97711aa434bd6591d05dd2ae617.tar.gz wallabag-31680f500043d97711aa434bd6591d05dd2ae617.tar.zst wallabag-31680f500043d97711aa434bd6591d05dd2ae617.zip |
fix #564 on legacy
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 9014f455..400857b4 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -190,7 +190,7 @@ class Poche | |||
190 | { | 190 | { |
191 | case 'add': | 191 | case 'add': |
192 | $content = Tools::getPageContent($url); | 192 | $content = Tools::getPageContent($url); |
193 | $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled'); | 193 | $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : parse_url($url, PHP_URL_HOST); |
194 | $body = $content['rss']['channel']['item']['description']; | 194 | $body = $content['rss']['channel']['item']['description']; |
195 | 195 | ||
196 | // clean content from prevent xss attack | 196 | // clean content from prevent xss attack |