Explorar o código

Fix the syntax

markjcrane %!s(int64=3) %!d(string=hai) anos
pai
achega
cb32a20070
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/classes/switch_settings.php

+ 1 - 1
resources/classes/switch_settings.php

@@ -258,7 +258,7 @@ if (!class_exists('switch_settings')) {
 				}
 
 			//set the default settings
-				if (is_array($array) {
+				if (is_array($array)) {
 					foreach ($array as $row) {
 						if (!isset($_SESSION['switch'][$row['default_setting_subcategory']])) {
 							if ($row['default_setting_enabled'] != "false") {