aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-05 16:24:30 -0800
committerzotlabs <mike@macgirvin.com>2018-12-05 16:24:30 -0800
commit8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8 (patch)
treede358b5a2e7fa57338ed9522c73e4c057ad14f5b /Zotlabs/Module
parent42aeb19562b9e72436a72e090772da669e34fd66 (diff)
downloadvolse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.tar.gz
volse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.tar.bz2
volse-hubzilla-8ab1f3105874b3167515de9a41c3bf3f3fe5a9d8.zip
reset page title if article has no title.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Display.php3
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');
}