diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 2bd08f76bda..e0351ca271a 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -1685,7 +1685,7 @@ if ($_GET['propalid'] > 0)
$authoract = new User($db);
$authoract->id = $objp->fk_user_author;
$authoract->fetch('');
- print '
'.$authoract->code.' | ';
+ print ''.$authoract->login.' | ';
print "\n";
$i++;
}
diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php
index 7b163468a68..c0382b49ba3 100644
--- a/htdocs/compta/propal.php
+++ b/htdocs/compta/propal.php
@@ -709,7 +709,7 @@ et non globalement
$authoract = new User($db);
$authoract->id = $objp->fk_user_author;
$authoract->fetch('');
- print ''.$authoract->code.' | ';
+ print ''.$authoract->login.' | ';
print "\n";
$i++;
}