Commit 5cc5aeb7 authored by cgmonroe's avatar cgmonroe Committed by guschilds

Issue #2268657 by markcarver, cgmonroe, guschilds: print_preprocess_print()...

Issue #2268657 by markcarver, cgmonroe, guschilds: print_preprocess_print() incorrectly sets class on image for print_logo variable.
parent 2b7a3610
......@@ -158,7 +158,7 @@ function print_preprocess_print(&$variables) {
}
$logo_url = preg_replace('!^' . base_path() . '!', '', $logo_url);
$variables['print_logo'] = $logo_url ? theme('image', array('path' => $logo_url, 'alt' => variable_get('site_name', 'Drupal'), 'attributes' => array('class' => 'print-logo', 'id' => 'logo'))) : NULL;
$variables['print_logo'] = $logo_url ? theme('image', array('path' => $logo_url, 'alt' => variable_get('site_name', 'Drupal'), 'attributes' => array('class' => array('print-logo'), 'id' => 'logo'))) : NULL;
$variables['print_node'] = $node;
$variables['content'] = $node->content;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment