aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2014-02-03 17:11:00 +0100
committernicosomb <nicolas@loeuillet.org>2014-02-03 17:11:14 +0100
commitfa0bfb775a53a074e0a9d642298685b5ed1af83f (patch)
treeffddc068d224f8ddfc815149c573f474f718fd10
parent445a1a1c8de78bf7bba3404aa675e6a57ceefbfd (diff)
downloadwallabag-fa0bfb775a53a074e0a9d642298685b5ed1af83f.tar.gz
wallabag-fa0bfb775a53a074e0a9d642298685b5ed1af83f.tar.zst
wallabag-fa0bfb775a53a074e0a9d642298685b5ed1af83f.zip
[fix] #389 Empty article title (blank title tag)
-rw-r--r--inc/poche/Poche.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 77361ef7..4df90067 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -375,7 +375,7 @@ class Poche
375 { 375 {
376 case 'add': 376 case 'add':
377 $content = $this->getPageContent($url); 377 $content = $this->getPageContent($url);
378 $title = $content['rss']['channel']['item']['title']; 378 $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled');
379 $body = $content['rss']['channel']['item']['description']; 379 $body = $content['rss']['channel']['item']['description'];
380 380
381 if ($this->store->add($url->getUrl(), $title, $body, $this->user->getId())) { 381 if ($this->store->add($url->getUrl(), $title, $body, $this->user->getId())) {