mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-06 17:41:01 +00:00
fix #564 on legacy
This commit is contained in:
parent
483090f1e1
commit
31680f5000
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class Poche
|
||||||
{
|
{
|
||||||
case 'add':
|
case 'add':
|
||||||
$content = Tools::getPageContent($url);
|
$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'];
|
$body = $content['rss']['channel']['item']['description'];
|
||||||
|
|
||||||
// clean content from prevent xss attack
|
// clean content from prevent xss attack
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue