From 7025c0d91a240ef12ecfb1f5877eb581286875c4 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Tue, 27 Feb 2007 06:41:36 +0000 Subject: [PATCH] fix for Warning: Wrong parameter count for str_replace() in /usr/share/egroupware/phpgwapi/inc/class.html.inc.php on line 1061 --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index fbf86e7c23..f7b7a50753 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -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 {