reset page title if article has no title.

(cherry picked from commit 8ab1f31058)
This commit is contained in:
zotlabs 2018-12-06 00:24:30 +00:00 committed by Mario
parent 6b68a76bbe
commit 30403da326

View File

@ -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');
}