From afcacd8a0f266d3ec8e3e48a814d5c55293ed42e Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Fri, 18 Oct 2019 12:43:11 -0600
Subject: [PATCH] Update template.php (#4781)
---
themes/default/template.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/themes/default/template.php b/themes/default/template.php
index eafe966673..fc29a76e44 100644
--- a/themes/default/template.php
+++ b/themes/default/template.php
@@ -424,13 +424,13 @@ echo "
\n";
echo " \n";
//alternating background colors of inactive domains
- if ($_SESSION['theme']['domain_inactive_background_color'][0]['text'] != '') {
+ if ($_SESSION['theme']['domain_inactive_background_color'][0] != '') {
$bgcolor1 = $_SESSION['theme']['domain_inactive_background_color'][0];
}
else {
$bgcolor1 = "#eaedf2";
}
- if ($_SESSION['theme']['domain_inactive_background_color'][1]['text'] != '') {
+ if ($_SESSION['theme']['domain_inactive_background_color'][1] != '') {
$bgcolor2 = $_SESSION['theme']['domain_inactive_background_color'][1];
}
else {