fix width/height parameter index

This commit is contained in:
mohrt
2003-03-06 21:39:16 +00:00
parent 3fd8661f08
commit 274a9ca3e9

View File

@@ -85,10 +85,10 @@ function smarty_function_html_image($params, &$smarty)
}
if(!isset($params['width'])) {
$width = $_image_data[1];
$width = $_image_data[0];
}
if(!isset($params['height'])) {
$height = $_image_data[2];
$height = $_image_data[1];
}
}