diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php
index 37758eea2ab..900fea2d079 100644
--- a/htdocs/comm/action/class/actioncomm.class.php
+++ b/htdocs/comm/action/class/actioncomm.class.php
@@ -970,7 +970,10 @@ 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->label;
+ 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">';