diff --git a/htdocs/core/actions_massactions.inc.php b/htdocs/core/actions_massactions.inc.php index 1dcb4774ba7..0f15cd1ab69 100644 --- a/htdocs/core/actions_massactions.inc.php +++ b/htdocs/core/actions_massactions.inc.php @@ -1217,6 +1217,7 @@ if (!$error && ($massaction == 'delete' || ($action == 'delete' && $confirm == ' // TODO Change signature of delete for Societe $result = $objecttmp->delete($objecttmp->id, $user, 1); } else { + $objecttmp->oldcopy = dol_clone($objecttmp); $result = $objecttmp->delete($user); }