markjcrane 3 lat temu
rodzic
commit
cb32a20070
1 zmienionych plików z 1 dodań i 1 usunięć
  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") {