From fd4b3d30befa436534165bdfe019e304568565aa Mon Sep 17 00:00:00 2001 From: thibdrev Date: Fri, 19 Jan 2024 14:42:31 +0100 Subject: [PATCH] qual: phpstan htdocs/eventorganization/conferenceorbooth_list.php 237 Property ConferenceOrBooth::$status (int) does not accept array|string. --- htdocs/eventorganization/conferenceorbooth_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/eventorganization/conferenceorbooth_list.php b/htdocs/eventorganization/conferenceorbooth_list.php index f07c1826399..39f88d01a66 100644 --- a/htdocs/eventorganization/conferenceorbooth_list.php +++ b/htdocs/eventorganization/conferenceorbooth_list.php @@ -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');