diff options
author | Christopher Ng <chrng8@gmail.com> | 2025-01-07 14:12:32 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2025-01-07 14:12:32 -0800 |
commit | abb06764b5ff80ed8924b3b22803d0be11ef4877 (patch) | |
tree | 862af7a80b0aa4ee272c3ec576997cab86a45e16 | |
parent | 1ed3f03a1b0d6b5cd69993321074dbf3826a7e85 (diff) | |
download | nextcloud-server-fix/undefined-application-key.tar.gz nextcloud-server-fix/undefined-application-key.zip |
fix(core): Fix undefined "application" array key errorfix/undefined-application-key
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r-- | core/templates/layout.public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index bd46ee4f7fc..fa7eb7f4acb 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -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()); ?> |