diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php
index 506dfacb5c8..2e840abce76 100644
--- a/htdocs/comm/action/class/actioncomm.class.php
+++ b/htdocs/comm/action/class/actioncomm.class.php
@@ -973,12 +973,15 @@ class ActionComm extends CommonObject
$result='';
$tooltip = '' . $langs->trans('ShowAction'.$objp->code) . '';
- $tooltip .= '
' . $langs->trans('Ref') . ': ' . $this->label;
+ if (! empty($this->ref))
+ $tooltip .= '
' . $langs->trans('Ref') . ': ' . $this->ref;
+ if (! empty($this->label))
+ $tooltip .= '
' . $langs->trans('Title') . ': ' . $this->label;
$label = $this->label;
if (empty($label)) $label=$this->libelle; // For backward compatibility
- $linkclose = '" title="'.dol_escape_htmltag($tooltip, 1).'" class="classfortooltip">';
- if ($option=='birthday') $link = 'id.$linkclose;
- else $link = 'id.$linkclose;
+ $linkclose = '" title="'.dol_escape_htmltag($tooltip, 1).'">';
+ if ($option=='birthday') $link = '