Update info.php

This commit is contained in:
Laurent Destailleur 2021-12-16 17:05:12 +01:00 committed by GitHub
parent dc1118a3df
commit e9b7fd0ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,9 @@ $id = GETPOST("facid", "int");
$ref = GETPOST("ref", 'alpha');
$object = new Facture($db);
$object->fetch($id, $ref);
if ($id > 0 || !empty($ref)) {
$object->fetch($id, $ref);
}
/*