From 274a9ca3e95c47466ccf55081a30df93317c2e59 Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 6 Mar 2003 21:39:16 +0000 Subject: [PATCH] fix width/height parameter index --- libs/plugins/function.html_image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php index a3b8a1ab..4a9f496d 100644 --- a/libs/plugins/function.html_image.php +++ b/libs/plugins/function.html_image.php @@ -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]; } }