Explorar o código

Update template.php (#4781)

chansizzle %!s(int64=5) %!d(string=hai) anos
pai
achega
84210c680c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 {