1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

[fix] #389 Empty article title (blank title tag)

This commit is contained in:
nicosomb 2014-02-03 17:11:00 +01:00
parent 445a1a1c8d
commit fa0bfb775a

View File

@ -375,7 +375,7 @@ class Poche
{
case 'add':
$content = $this->getPageContent($url);
$title = $content['rss']['channel']['item']['title'];
$title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled');
$body = $content['rss']['channel']['item']['description'];
if ($this->store->add($url->getUrl(), $title, $body, $this->user->getId())) {