Update card.php

This commit is contained in:
Laurent Destailleur 2024-01-26 02:17:36 +01:00 committed by GitHub
parent b3ae425ad9
commit b9a4a4d8d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,8 @@ if (empty($reshook)) {
$object->fetch($id);
if ($object->id > 0) {
$object->id = $object->ref = 0;
$object->id = 0;
$object->ref = null;
$object->paye = 0;
if (GETPOST('amount', 'alphanohtml')) {