diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php
index 2ddebb916da1c4ac99c7ce09a6d28b9617b2a036..a8fceb2a9989a05273cc574e4f5fa3ad158aedd1 100644
--- a/htdocs/fourn/facture/document.php
+++ b/htdocs/fourn/facture/document.php
@@ -39,7 +39,7 @@ $langs->load("companies");
 $id = GETPOST('facid','int')?GETPOST('facid','int'):GETPOST('id','int');
 $action=GETPOST('action','alpha');
 $confirm=GETPOST('confirm','alpha');
-$ref = GETPOST('ref','alpha');
+$ref = GETPOST('ref','alpha');
 
 // Security check
 if ($user->societe_id) $socid=$user->societe_id;