This seems to be similar to a few other Bootstrap issues, but we hit a case where the value of $variables['attributes']['class'] coming into bootstrap_preprocess_picture is sometimes a string instead of an array. This patch sanitises the class attribute the same way it's done in links.vars.php and other places in Bootstrap.

CommentFileSizeAuthor
bootstrap--picture-class-string.patch616 bytesgeoffreyr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geoffreyr created an issue. See original summary.

markhalliwell’s picture

Category: Bug report » Support request
Status: Needs review » Closed (won't fix)