diff --git a/htdocs/core/ajax/ajaxdirtree.php b/htdocs/core/ajax/ajaxdirtree.php
index dab5206fc7d..1977cfac6e4 100644
--- a/htdocs/core/ajax/ajaxdirtree.php
+++ b/htdocs/core/ajax/ajaxdirtree.php
@@ -288,7 +288,7 @@ if (empty($conf->use_javascript_ajax) || !empty($conf->global->MAIN_ECM_DISABLE_
print '
';
$userstatic->id = $val['fk_user_c'];
$userstatic->lastname = $val['login_c'];
- $userstatic->lastname = $val['statut_c'];
+ $userstatic->statut = $val['statut_c'];
$htmltooltip = ''.$langs->trans("ECMSection").': '.$val['label'].' ';
$htmltooltip = ''.$langs->trans("Type").': '.$langs->trans("ECMSectionManual").' ';
$htmltooltip .= ''.$langs->trans("ECMCreationUser").': '.$userstatic->getNomUrl(1, '', false, 1).' ';
|