浏览代码

Update template.php (#4781)

chansizzle 6 年之前
父节点
当前提交
3c0bfa3ea7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      themes/default/template.php

+ 2 - 2
themes/default/template.php

@@ -424,13 +424,13 @@ echo "	<div id='message_container'></div>\n";
 		echo "		<div id='domains_list'>\n";
 		echo "		<div id='domains_list'>\n";
 
 
 		//alternating background colors of inactive domains
 		//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];
 			$bgcolor1 = $_SESSION['theme']['domain_inactive_background_color'][0];
 		}
 		}
 		else {
 		else {
 			$bgcolor1 = "#eaedf2";
 			$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];
 			$bgcolor2 = $_SESSION['theme']['domain_inactive_background_color'][1];
 		}	
 		}	
 		else {
 		else {