diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 67d1dcee96..3f2f722785 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -2351,6 +2351,7 @@ class Display $buttonClass = "btn btn-$type"; $icon = self::tag('i', null, ['class' => "fa fa-$icon fa-fw", 'aria-hidden' => 'true']); $attributes['class'] = isset($attributes['class']) ? "$buttonClass {$attributes['class']}" : $buttonClass; + $attributes['title'] = isset($attributes['title']) ? $attributes['title'] : $text; if (!$includeText) { $text = '' . $text . '';