diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 9693a6b7a6..972b378f43 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -1507,7 +1507,7 @@ class etemplate extends boetemplate list($extra_link,$extra_link_target,$imagemap,$extra_link_popup,$id) = explode(',',$cell['size']); } $html .= html::image($app,$img,strlen($label) > 1 && !$cell['no_lang'] ? lang($label) : $label, - 'border="0"'.($imagemap?' usemap="'.html::htmlspecialchars($imagemap).'"':''). + 'border="0"'.($imagemap?' usemap="#'.html::htmlspecialchars($imagemap).'"':''). ($id || $value ? ' id="'.($id ? $id : $name).'"' : '')); $extra_label = False; break;