Skip to content
Snippets Groups Projects
Commit 571d20d5 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

Wrong behaviour

parent 2c466159
No related branches found
No related tags found
No related merge requests found
...@@ -1823,7 +1823,9 @@ function img_view($alt = 'default', $float = 0, $other = '') ...@@ -1823,7 +1823,9 @@ function img_view($alt = 'default', $float = 0, $other = '')
if ($alt == 'default') $alt = $langs->trans('View'); if ($alt == 'default') $alt = $langs->trans('View');
return img_picto($alt, 'view.png', ($float ? 'style="float: right"' : $other)); $options = ($float ? 'style="float: right" ' : '').$other;
return img_picto($alt, 'view.png', $options);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment