diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 2 |
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())) { |