Closed (fixed)
Project:
Printer, email and PDF versions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2014 at 21:25 UTC
Updated:
23 Jun 2016 at 19:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
markhalliwellSearched the print module repo:
http://drupalcode.org/project/print.git?a=search&h=refs%2Fheads%2F7.x-2....
Found:
http://drupalcode.org/project/print.git/blob?f=print.pages.inc#l161
array('class' => 'print-logo', 'id' => 'logo')Should be:
array('class' => array('print-logo'), 'id' => 'logo')Comment #2
alexander.sibert commentedIt works now for me. Thank you!
Comment #3
cgmonroe commentedHad the same problem with bootstrap. Here's a patch file to fix this.
FYI - An alternative way to fix this is to change the preprocess_image hooks in your theme to test if the $vars['attributes']['class'] variable is a string and then skip it if it is. Better to fix the source problem though.
Comment #4
guschilds commentedAttached is the same patch, but it applies to 7.x-1.3 for anyone else still stuck on that version. :)
Comment #7
guschilds commentedThe patches from #3 and #4 have been committed to the 7.x-2.x and 7.x-1.x branches and will be a part of the next releases. Thanks everyone!