diff --git a/includes/ds.displays.inc b/includes/ds.displays.inc index da0ff86..4ddb198 100644 --- a/includes/ds.displays.inc +++ b/includes/ds.displays.inc @@ -144,7 +144,7 @@ function ds_emergency_region_to_block_submit($form, &$form_state) { $region_blocks = variable_get('ds_extras_region_blocks', array()); $remove = $form_state['values']['remove_block_region']; foreach ($remove as $key => $value) { - if ($value != 0 && $key == $value) { + if ($value !== 0 && $key == $value) { $variable_set = TRUE; if (module_exists('block')) { db_delete('block') diff --git a/modules/ds_extras/includes/ds_extras.admin.inc b/modules/ds_extras/includes/ds_extras.admin.inc index df80fdb..8102443 100644 --- a/modules/ds_extras/includes/ds_extras.admin.inc +++ b/modules/ds_extras/includes/ds_extras.admin.inc @@ -573,7 +573,7 @@ function ds_extras_block_submit($form, &$form_state) { $region_blocks = variable_get('ds_extras_region_blocks', array()); $remove = $form_state['values']['additional_settings']['region_to_block']['remove_block_region']; foreach ($remove as $key => $value) { - if ($value != 0 && $key == $value) { + if ($value !== 0 && $key == $value) { $variable_set = TRUE; if (module_exists('block')) { db_delete('block')