From 5f36a746d56fe7e255f129f48628e595ed1c4f5f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 3 Sep 2024 14:03:59 -0600 Subject: [PATCH] update css.php Fixed the sytnax issue --- themes/default/css.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/css.php b/themes/default/css.php index 69689cd03b..9ca3034d01 100644 --- a/themes/default/css.php +++ b/themes/default/css.php @@ -350,11 +350,11 @@ else { elseif (!empty($_SESSION['theme']['login_background_color']) && !empty($_SESSION['theme']['login_background_color'][0])) { $background_colors[0] = $_SESSION['theme']['login_background_color'][0]; } - elseif ($_SESSION['theme']['background_color_enabled']) && $_SESSION['theme']['background_color_enabled'] == 'true' && !empty($_SESSION['theme']['background_color'][0]) && !empty($_SESSION['theme']['background_color'][1])) { + elseif ($_SESSION['theme']['background_color_enabled'] && $_SESSION['theme']['background_color_enabled'] == 'true' && !empty($_SESSION['theme']['background_color'][0]) && !empty($_SESSION['theme']['background_color'][1])) { $background_colors[0] = $_SESSION['theme']['background_color'][0]; $background_colors[1] = $_SESSION['theme']['background_color'][1]; } - elseif $_SESSION['theme']['background_color_enabled']) && $_SESSION['theme']['background_color_enabled'] == 'true' && !empty($_SESSION['theme']['background_color'][0])) { + elseif ($_SESSION['theme']['background_color_enabled'] && $_SESSION['theme']['background_color_enabled'] == 'true' && !empty($_SESSION['theme']['background_color'][0])) { $background_colors[0] = $_SESSION['theme']['background_color'][0]; } }