Merge pull request #19951 from FHenry/15.0_fix_warning
fix:silent warning php Select Lot
This commit is contained in:
commit
e507fa12fa
@ -655,6 +655,7 @@ class FormProduct
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($productIdArray as $productId) {
|
foreach ($productIdArray as $productId) {
|
||||||
|
if (array_key_exists($productId, $this->cache_lot)) {
|
||||||
foreach ($this->cache_lot[$productId] as $id => $arraytypes) {
|
foreach ($this->cache_lot[$productId] as $id => $arraytypes) {
|
||||||
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
||||||
$label = $arraytypes['entrepot_label'] . ' - ';
|
$label = $arraytypes['entrepot_label'] . ' - ';
|
||||||
@ -663,6 +664,7 @@ class FormProduct
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$out .= '</datalist>';
|
$out .= '</datalist>';
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user