From 31680f500043d97711aa434bd6591d05dd2ae617 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Aug 2015 20:56:56 +0200 Subject: fix #564 on legacy --- inc/poche/Poche.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/poche/Poche.class.php') 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 { case 'add': $content = Tools::getPageContent($url); - $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled'); + $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : parse_url($url, PHP_URL_HOST); $body = $content['rss']['channel']['item']['description']; // clean content from prevent xss attack -- cgit v1.2.3