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', [