diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 80f8459666bad..2998727ee8d0a 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -24,7 +24,7 @@ <?php - p(!empty($_['pageTitle']) && $_['pageTitle'] !== $_['application'] ? $_['pageTitle'] . ' - ' : ''); + p(!empty($_['pageTitle']) && (empty($_['application']) || $_['pageTitle'] !== $_['application']) ? $_['pageTitle'] . ' - ' : ''); p(!empty($_['application']) ? $_['application'] . ' - ' : ''); p($theme->getTitle()); ?>