2
0
forked from Wavyzz/dolibarr

Wrong behaviour

This commit is contained in:
Marcos García
2012-07-30 23:27:12 +02:00
parent 2c466159f9
commit 571d20d583

View File

@@ -1822,8 +1822,10 @@ function img_view($alt = 'default', $float = 0, $other = '')
global $conf, $langs;
if ($alt == 'default') $alt = $langs->trans('View');
$options = ($float ? 'style="float: right" ' : '').$other;
return img_picto($alt, 'view.png', ($float ? 'style="float: right"' : $other));
return img_picto($alt, 'view.png', $options);
}
/**