Fix regression

This commit is contained in:
Laurent Destailleur 2024-11-26 19:34:05 +01:00
parent 7a12b15376
commit 64540fe5f4

View File

@ -254,7 +254,7 @@ if (empty($reshook)) {
$companypaymentmode->fetch($id);
if (!$error) {
$companypaymentmode->oldcopy = dol_clone($companybankaccount, 2);
$companypaymentmode->oldcopy = dol_clone($companypaymentmode, 2);
$companypaymentmode->fk_soc = $object->id;