mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 16:40:30 +00:00
[fix] #389 Empty article title (blank title tag)
This commit is contained in:
parent
445a1a1c8d
commit
fa0bfb775a
1 changed files with 1 additions and 1 deletions
|
@ -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())) {
|
||||
|
|
Loading…
Reference in a new issue