create oldcopy before massdelete (#38844)
This commit is contained in:
parent
28103ac4f8
commit
ae99530e25
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue