diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 58a8e1ca11e..08fce200645 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -5601,10 +5601,10 @@ if ($action == 'create') {
}
print '';
print '
';
- $liststatus = array('0' => "None", '1' => "DisputeOpen", '8' => "DisputeLost", '9' => "DisputeWon");
+ $liststatus = Facture::ARRAY_OF_DISPUTE_STATUS;
if ($action != 'editdispute_status') {
if ($object->dispute_status) {
- print $langs->trans($liststatus[$object->dispute_status]);
+ print $langs->trans($liststatus[$object->dispute_status]['label']);
}
} else {
print ' |