Hi all.

I've encountered an error while using the Bootstrap module and have traced it back to adatptive_image

on Line 201 it's currently: $variables['attributes']['class'] = 'adaptive-image';

This code overrides the values from other modules. It should be declared as an array. eg. $variables['attributes']['class'][] = 'adaptive-image';

Comments

neubreed’s picture

Title: css class 'adaptive-image' override classes from other module » Adaptive image Fatal error: [] operator not supported for strings
Issue summary: View changes
vasike’s picture

Status: Active » Closed (duplicate)
Related issues: +#1905576: Change class from string to array for themers

this looks like a duplicate of #1905576: Change class from string to array for themers.

please re-open if i'm wrong.