Skip to content

Commit

Permalink
Fix update supplier ref on supplier invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
phf committed May 10, 2016
1 parent 06eeb0c commit a57e0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/facture/card.php
Expand Up @@ -240,7 +240,7 @@
{
$object->ref_supplier = GETPOST('ref_supplier', 'alpha');

if ($object->update() < 0) {
if ($object->update($user) < 0) {
setEventMessages($object->error, $object->errors, 'errors');
}
}
Expand Down

0 comments on commit a57e0f5

Please sign in to comment.