diff options
author | zotlabs <mike@macgirvin.com> | 2018-12-05 16:24:30 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-12-05 16:24:30 -0800 |
commit | 8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8 (patch) | |
tree | de358b5a2e7fa57338ed9522c73e4c057ad14f5b | |
parent | 42aeb19562b9e72436a72e090772da669e34fd66 (diff) | |
download | volse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.tar.gz volse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.tar.bz2 volse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.zip |
reset page title if article has no title.
-rw-r--r-- | Zotlabs/Module/Display.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index d1755c183..e3691702d 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -375,8 +375,7 @@ class Display extends \Zotlabs\Web\Controller { } $o .= '</noscript>'; - if ($items[0]['title']) - \App::$page['title'] = $items[0]['title'] . " - " . \App::$page['title']; + \App::$page['title'] = (($items[0]['title']) ? $items[0]['title'] . " - " . \App::$page['title'] : \App::$page['title']); $o .= conversation($items, 'display', $update, 'client'); } |