Révision 3dfa8105
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/ds/modules/ds_extras/includes/ds_extras.registry.inc | ||
---|---|---|
83 | 83 |
} |
84 | 84 |
|
85 | 85 |
// Remove ds_preprocess_field in case field templates is not enabled. |
86 |
if (!variable_get('ds_extras_field_template', FALSE)) { |
|
86 |
if (!variable_get('ds_extras_field_template', FALSE) && isset($theme_registry['field']['preprocess functions'])) {
|
|
87 | 87 |
$key = array_search('ds_extras_preprocess_field', $theme_registry['field']['preprocess functions']); |
88 | 88 |
if (!empty($key)) { |
89 | 89 |
unset($theme_registry['field']['preprocess functions'][$key]); |
Formats disponibles : Unified diff
Weekly update of contrib modules