Skip to content

Commit b684c18

Browse files
committed
fix(core): Fix undefined "application" array key error
Signed-off-by: Christopher Ng <[email protected]>
1 parent 90a1aea commit b684c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/templates/layout.public.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta charset="utf-8">
1111
<title>
1212
<?php
13-
p(!empty($_['pageTitle']) && $_['pageTitle'] !== $_['application'] ? $_['pageTitle'] . ' - ' : '');
13+
p(!empty($_['pageTitle']) && (empty($_['application']) || $_['pageTitle'] !== $_['application']) ? $_['pageTitle'] . ' - ' : '');
1414
p(!empty($_['application']) ? $_['application'] . ' - ' : '');
1515
p($theme->getTitle());
1616
?>

0 commit comments

Comments
 (0)