Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0

This commit is contained in:
Laurent Destailleur
2023-08-25 23:42:48 +02:00

View File

@@ -904,7 +904,7 @@ if (empty($reshook)) {
} else {
if ($object->id > 0) {
$error = 0;
$clone = dol_clone($object, 2);
$clone = dol_clone($object, 1);
$clone->id = null;
$clone->ref = GETPOST('clone_ref', 'alphanohtml');