diff options
-rw-r--r-- | core/templates/layout.user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 80f8459666b..2998727ee8d 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -24,7 +24,7 @@ $getUserAvatar = static function (int $size) use ($_): string { <meta charset="utf-8"> <title> <?php - p(!empty($_['pageTitle']) && $_['pageTitle'] !== $_['application'] ? $_['pageTitle'] . ' - ' : ''); + p(!empty($_['pageTitle']) && (empty($_['application']) || $_['pageTitle'] !== $_['application']) ? $_['pageTitle'] . ' - ' : ''); p(!empty($_['application']) ? $_['application'] . ' - ' : ''); p($theme->getTitle()); ?> |