Browse Source

Fix the syntax

markjcrane 3 years ago
parent
commit
cb32a20070
1 changed files with 1 additions and 1 deletions
  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") {