fix:waring php
This commit is contained in:
parent
538c5f14d3
commit
4f08409419
@ -655,11 +655,13 @@ class FormProduct
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($productIdArray as $productId) {
|
foreach ($productIdArray as $productId) {
|
||||||
foreach ($this->cache_lot[$productId] as $id => $arraytypes) {
|
if (array_key_exists($productId, $this->cache_lot)) {
|
||||||
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
foreach ($this->cache_lot[$productId] as $id => $arraytypes) {
|
||||||
$label = $arraytypes['entrepot_label'].' - ';
|
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
||||||
$label .= $arraytypes['batch'];
|
$label = $arraytypes['entrepot_label'] . ' - ';
|
||||||
$out .= '<option>'.$arraytypes['batch'].'</option>';
|
$label .= $arraytypes['batch'];
|
||||||
|
$out .= '<option>' . $arraytypes['batch'] . '</option>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user