Skip to content
Snippets Groups Projects
Commit d94fd634 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-4534-ebremner-patch-gesso' into '1.0.x'

ISTWCMS-4534: fixing undefined index error

See merge request !195
parents 193f8228 ed033907
No related branches found
No related tags found
1 merge request!195ISTWCMS-4534: fixing undefined index error
......@@ -770,6 +770,7 @@ function uw_cfg_common_preprocess_responsive_image(&$variables) {
// If we are on a contact image, remove all styles
// but those for portraits.
if (
isset($media_lib_parameters['bundle']) &&
$media_lib_parameters['bundle'] == 'uw_ct_contact' ||
end($current_path_parts) == 'uw_ct_contact'
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment