diff --git a/scripts/pi-hole/php/header_authenticated.php b/scripts/pi-hole/php/header_authenticated.php index 8b37cffe..1d5a5d04 100644 --- a/scripts/pi-hole/php/header_authenticated.php +++ b/scripts/pi-hole/php/header_authenticated.php @@ -21,7 +21,7 @@ require_once 'scripts/pi-hole/php/func.php'; require 'scripts/pi-hole/php/theme.php'; // Retrieve layout setting from setupVars -if (isset($setupVars['WEBUIBOXEDLAYOUT']) && !$setupVars['WEBUIBOXEDLAYOUT'] === 'boxed') { +if (isset($setupVars['WEBUIBOXEDLAYOUT']) && !($setupVars['WEBUIBOXEDLAYOUT'] === 'boxed')) { $boxedlayout = false; } else { $boxedlayout = true;