Révision 6e9292aa
Ajouté par Assos Assos il y a presque 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 ($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