Update fournisseurs.php

FIX #15849
This commit is contained in:
zuiko 2021-01-04 21:56:47 +01:00 committed by GitHub
parent dd55f9ca91
commit 0efd5934f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -507,11 +507,11 @@ if ($id > 0 || $ref)
if ($rowid)
{
print '<input type="hidden" name="ref_fourn_old" value="'.$object->ref_supplier.'">';
print '<input class="flat" name="ref_fourn" size="12" value="'.$object->ref_supplier.'">';
print '<input class="flat width150" maxlength="30" name="ref_fourn" size="12" value="'.$object->ref_supplier.'">';
}
else
{
print '<input class="flat" name="ref_fourn" size="12" value="'.(GETPOST("ref_fourn") ?GETPOST("ref_fourn") : '').'">';
print '<input class="flat width150" maxlength="30" name="ref_fourn" size="12" value="'.(GETPOST("ref_fourn") ?GETPOST("ref_fourn") : '').'">';
}
print '</td>';
print '</tr>';