Fix the syntax
This commit is contained in:
parent
eda3ddfd28
commit
fcc9d6186c
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue