HtmlInput: fix small bug in fct image_click

This commit is contained in:
Dany De Bontridder 2017-11-16 21:03:35 +01:00
parent 944a83e3bb
commit 9b52096914

View file

@ -535,7 +535,7 @@ class HtmlInput
* @param string $p_js javascript when the image is clicked
* @param string $p_message Message
*/
static function image_click($p_image,$p_js,$p_message,$p_class)
static function image_click($p_image,$p_js,$p_message,$p_class="")
{
$ret=sprintf('<a class="nav %s" style="display:inline" title="%s"><img src="image/%s" onclick="%s"></a>',
$p_class,