Commit 30403da3 authored by Zot's avatar Zot Committed by Mario

reset page title if article has no title.


(cherry picked from commit 8ab1f310)
parent 6b68a76b
Pipeline #96279 passed with stage
in 16 minutes and 2 seconds
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment