diff --git a/include/class_html_input.php b/include/class_html_input.php index fc820f63a..c45f38259 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -729,16 +729,17 @@ class HtmlInput * onclick = function() {...} * @param type $p_text Text to display * @param type $p_id id of the link + * @param type $type title of the link * @code * echo HtmlInput::anchor_empty('go','go_id'); * * @endcode */ - static function anchor_empty($p_text,$p_id) + static function anchor_empty($p_text,$p_id,$p_title="") { $p_url="javascript:void(0)"; - $str=sprintf('%s', - $p_id,$p_text); + $str=sprintf('%s', + $p_id,$p_title,$p_text); return $str; } /**