Merge pull request #27822 from thibdrev/patch-4

qual: phpstan for htdocs/delivery/card.php
This commit is contained in:
Laurent Destailleur 2024-01-28 12:50:33 +01:00 committed by GitHub
commit bee9344519
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ if ($action == 'add') {
$object->note = GETPOST("note", 'restricthtml');
$object->note_private = GETPOST("note", 'restricthtml');
$object->commande_id = GETPOST("commande_id", 'int');
$object->fk_incoterms = GETPOST('incoterm_id', 'int');
$object->fk_incoterms = GETPOSTINT('incoterm_id');
/* ->entrepot_id seems to not exists
if (!getDolGlobalInt('MAIN_SUBMODULE_EXPEDITION') && isModEnabled('stock')) {