fix: massaction delete on actioncomm list do not call delete with good paramters
This commit is contained in:
parent
8b06d68cc0
commit
98ee53c4b1
@ -1324,6 +1324,8 @@ if (!$error && ($massaction == 'delete' || ($action == 'delete' && $confirm == '
|
||||
|
||||
if (in_array($objecttmp->element, array('societe', 'member'))) {
|
||||
$result = $objecttmp->delete($objecttmp->id, $user, 1);
|
||||
} elseif (in_array($objecttmp->element, array('action'))) {
|
||||
$result = $objecttmp->delete();
|
||||
} else {
|
||||
$result = $objecttmp->delete($user);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user