Update card.php

This commit is contained in:
Günter Lukas 2024-11-30 11:08:17 +01:00 committed by GitHub
parent f5d639b841
commit 677525a663
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1850,7 +1850,7 @@ if ($action == 'create') {
$currency_code = $soc->multicurrency_code;
}
}
// If form was posted (but error returned), we must reuse the value posted in priority (standard Dolibarr behaviour)
if (!GETPOST('changecompany')) {
if (GETPOSTISSET('cond_reglement_id')) {