diff options
-rw-r--r-- | db/.gitignore | 0 | ||||
-rw-r--r-- | inc/poche/Url.class.php | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/db/.gitignore b/db/.gitignore new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/db/.gitignore | |||
diff --git a/inc/poche/Url.class.php b/inc/poche/Url.class.php index 77ed5398..36fdd0f5 100644 --- a/inc/poche/Url.class.php +++ b/inc/poche/Url.class.php | |||
@@ -84,7 +84,7 @@ class Url | |||
84 | if($readability->init()) | 84 | if($readability->init()) |
85 | { | 85 | { |
86 | $content = $readability->articleContent->innerHTML; | 86 | $content = $readability->articleContent->innerHTML; |
87 | $parameters['title'] = $readability->articleTitle->innerHTML; | 87 | $parameters['title'] = ($readability->articleTitle->innerHTML != '' ? $readability->articleTitle->innerHTML : _('Untitled')); |
88 | $parameters['content'] = $content; | 88 | $parameters['content'] = $content; |
89 | 89 | ||
90 | return $parameters; | 90 | return $parameters; |