2
0
forked from Wavyzz/dolibarr

Merge pull request #27666 from thibdrev/patch-17

qual: phpstan
This commit is contained in:
Laurent Destailleur
2024-01-19 15:53:36 +01:00
committed by GitHub

View File

@@ -234,7 +234,7 @@ if (empty($reshook)) {
foreach ($toselect as $key => $idselect) {
$result = $objecttmp->fetch($idselect);
if ($result > 0) {
$objecttmp->status = GETPOST("statusmassaction", 'int');
$objecttmp->status = GETPOSTINT("statusmassaction");
$result = $objecttmp->update($user);
if ($result <= 0) {
setEventMessages($objecttmp->error, $objecttmp->errors, 'errors');