aboutsummaryrefslogtreecommitdiff
path: root/skin/base.skin.php
diff options
context:
space:
mode:
Diffstat (limited to 'skin/base.skin.php')
-rw-r--r--skin/base.skin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/skin/base.skin.php b/skin/base.skin.php
index bfea023..335e330 100644
--- a/skin/base.skin.php
+++ b/skin/base.skin.php
@@ -184,7 +184,7 @@ return <<<HTML
<div class="head-inner clearfix">
<div class="head-logo">{$unsafe_logo_html}</div>
<div class="head-items clearfix">
- {$ctx->for_each($items, fn($item) => $ctx->renderHeaderItem($item['url'], $item['label'], $item['label_id'], $item['theme_switcher']))}
+ {$ctx->for_each($items, fn($item) => $ctx->renderHeaderItem($item['url'], $item['label'], $item['label_id'] ?? null, $item['theme_switcher'] ?? false))}
</div>
</div>
</div>