qual: phpstan

htdocs/eventorganization/conferenceorbooth_list.php	237	Property ConferenceOrBooth::$status (int) does not accept array|string.
This commit is contained in:
thibdrev 2024-01-19 14:42:31 +01:00 committed by GitHub
parent 26cbf2e207
commit fd4b3d30be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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');