mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +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();
|
||||
while(list($Key,$Val) = each($staaten))
|
||||
$Values[$Val] = $Key;
|
||||
/* while(list($Key,$Val) = each($staaten))
|
||||
$Values[$Val] = $Key; */
|
||||
|
||||
foreach($staaten as $Key => $Val) {
|
||||
$$Values[$Val] = $Key;
|
||||
}
|
||||
|
||||
if($staatenliste)
|
||||
return $staaten;
|
||||
|
Loading…
Reference in New Issue
Block a user