fix(core): Fix undefined "application" array key error

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2025-02-11 16:07:59 -08:00 committed by backportbot[bot]
parent 1162b63816
commit 8bd93f5dd8

View file

@ -10,7 +10,7 @@
<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());
?>