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:
parent
445a1a1c8d
commit
fa0bfb775a
@ -375,7 +375,7 @@ class Poche
|
|||||||
{
|
{
|
||||||
case 'add':
|
case 'add':
|
||||||
$content = $this->getPageContent($url);
|
$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'];
|
$body = $content['rss']['channel']['item']['description'];
|
||||||
|
|
||||||
if ($this->store->add($url->getUrl(), $title, $body, $this->user->getId())) {
|
if ($this->store->add($url->getUrl(), $title, $body, $this->user->getId())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user