fix: phpstan

htdocs/reception/dispatch.php	196	Property CommandeFournisseurDispatch::$fk_entrepot (int) does not accept array|string.
This commit is contained in:
thibdrev
2024-01-18 21:20:26 +01:00
committed by GitHub
parent b081b08033
commit c948d97ecf

View File

@@ -193,7 +193,7 @@ if ($action == 'updatelines' && $permissiontoreceive) {
} else {
$qtystart = $supplierorderdispatch->qty;
$supplierorderdispatch->qty = GETPOST($qty);
$supplierorderdispatch->fk_entrepot = GETPOST($ent, 'int');
$supplierorderdispatch->fk_entrepot = GETPOSTINT($ent);
if ($modebatch == "batch") {
$supplierorderdispatch->eatby = $dDLUO;
$supplierorderdispatch->sellby = $dDLC;