mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 23:01:14 +01:00
Rewrite of deprecated PHP each() function
This commit is contained in:
parent
3a48633203
commit
e8c563d152
@ -28962,8 +28962,12 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
|
|||||||
}
|
}
|
||||||
|
|
||||||
$Values = array();
|
$Values = array();
|
||||||
while(list($Key,$Val) = each($staaten))
|
/* while(list($Key,$Val) = each($staaten))
|
||||||
$Values[$Val] = $Key;
|
$Values[$Val] = $Key; */
|
||||||
|
|
||||||
|
foreach($staaten as $Key => $Val) {
|
||||||
|
$$Values[$Val] = $Key;
|
||||||
|
}
|
||||||
|
|
||||||
if($staatenliste)
|
if($staatenliste)
|
||||||
return $staaten;
|
return $staaten;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user