Wrong behaviour
This commit is contained in:
parent
2c466159f9
commit
571d20d583
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user