Commit c021eaef authored by jcnventura's avatar jcnventura

Fix #270095 by suit4: prevent validation error when the class field is empty

parent fb70cd39
......@@ -255,7 +255,9 @@ function print_fill_attributes($title = '', $class = '', $new_window = FALSE) {
$attributes = array();
$attributes['title'] = $title;
$attributes['class'] = $class;
if (!empty($class)) {
$attributes['class'] = $class;
}
if ($new_window) {
switch ($print_settings['newwindow']) {
......
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