Skip to content

Commit

Permalink
Merge pull request #2311 from pi-hole/fix/boxed_layout
Browse files Browse the repository at this point in the history
Fix the "boxed layout" broken in `devel` branch
  • Loading branch information
yubiuser authored Aug 24, 2022
2 parents 475595b + 87334d5 commit c6af559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/php/header_authenticated.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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;
Expand Down

0 comments on commit c6af559

Please sign in to comment.