From 16ebc1f577c833e4ef0cd2b00ad0eadf206c8bbb Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 10 Aug 2023 13:05:17 +0200 Subject: [PATCH] Update functions.php --- system/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/functions.php b/system/functions.php index 11803c69..75234685 100644 --- a/system/functions.php +++ b/system/functions.php @@ -482,7 +482,7 @@ function template_place_holder($type): string function template_header($is_admin = false): string { global $title_full, $config, $twig; - $charset = isset($config['charset']) ? $config['charset'] : 'utf-8'; + $charset = $config['charset'] ?? 'utf-8'; return $twig->render('templates.header.html.twig', [