fix for Warning: Wrong parameter count for str_replace() in /usr/share/egroupware/phpgwapi/inc/class.html.inc.php on line 1061

This commit is contained in:
Lars Kneschke 2007-02-27 06:41:36 +00:00
parent df9e605367
commit 7025c0d91a

View File

@ -1058,7 +1058,7 @@ class html
$extra_styles = "display: inline-block; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$url',sizingMethod='image'); width: 1px; height: 1px;";
if (strstr($options,'style="'))
{
$options = str_replace('style="','style="'.$extra_styles);
$options = str_replace('style="','style="'.$extra_styles, $options);
}
else
{