Merge pull request #27874 from thibdrev/patch-9

qual: phspstan for htdocs/public/eventorganization/attendee_new.php
This commit is contained in:
Laurent Destailleur 2024-01-30 16:49:05 +01:00 committed by GitHub
commit 2d988d48ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -465,8 +465,8 @@ if (empty($reshook) && $action == 'add' && (!empty($conference->id) && $conferen
$thirdparty->town = GETPOST("town");
$thirdparty->client = $thirdparty::PROSPECT;
$thirdparty->fournisseur = 0;
$thirdparty->country_id = GETPOST("country_id", 'int');
$thirdparty->state_id = GETPOST("state_id", 'int');
$thirdparty->country_id = GETPOSTINT("country_id");
$thirdparty->state_id = GETPOSTINT("state_id");
$thirdparty->email = ($emailcompany ? $emailcompany : $email);
// Load object modCodeTiers