Révision 0ef18d70
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/ds/includes/ds.displays.inc | ||
---|---|---|
144 | 144 |
$region_blocks = variable_get('ds_extras_region_blocks', array()); |
145 | 145 |
$remove = $form_state['values']['remove_block_region']; |
146 | 146 |
foreach ($remove as $key => $value) { |
147 |
if ($value != 0 && $key == $value) { |
|
147 |
if ($value !== 0 && $key == $value) {
|
|
148 | 148 |
$variable_set = TRUE; |
149 | 149 |
if (module_exists('block')) { |
150 | 150 |
db_delete('block') |
Formats disponibles : Unified diff
Weekly update of contrib modules