From 69171b7928e71e5d94d5067a82422277da1c915f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 30 Apr 2009 08:07:25 +0000 Subject: [PATCH] "image: using csv_split for options to allow options with commas, eg. filenames containing commas" --- etemplate/inc/class.etemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index ae4c5efdd6..5376ad8df2 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -1485,7 +1485,7 @@ class etemplate extends boetemplate } if (!$readonly) { - list($extra_link,$extra_link_target,$imagemap,$extra_link_popup,$id) = explode(',',$cell['size']); + list($extra_link,$extra_link_target,$imagemap,$extra_link_popup,$id) = self::csv_split($cell['size']); } $html .= html::image($app,$img,strlen($label) > 1 && !$cell['no_lang'] ? lang($label) : $label, 'border="0"'.($imagemap?' usemap="#'.html::htmlspecialchars($imagemap).'"':'').