Fix the syntax

This commit is contained in:
markjcrane 2022-01-30 13:24:54 -07:00
parent eda3ddfd28
commit fcc9d6186c
1 changed files with 1 additions and 1 deletions

View File

@ -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") {