mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-20 02:27:40 +03:00
Fix missing message key
This commit is contained in:
parent
ce69c21f29
commit
43898373f0
@ -76,7 +76,7 @@ while (true)
|
||||
$temp['message']['stationName'] = $array['message']['stationName'];
|
||||
$temp['message']['timestamp'] = $array['message']['timestamp'];
|
||||
|
||||
$temp['commodities'] = array();
|
||||
$temp['message']['commodities'] = array();
|
||||
|
||||
$commodity = array();
|
||||
|
||||
@ -97,8 +97,8 @@ while (true)
|
||||
if(array_key_exists('demandLevel', $temp['message']))
|
||||
$commodity['demandLevel'] = $temp['message']['demandLevel'];
|
||||
|
||||
$temp['commodities'][] = $commodity;
|
||||
$array = $temp;
|
||||
$temp['message']['commodities'][] = $commodity;
|
||||
$array = $temp;
|
||||
unset($temp, $commodity);
|
||||
|
||||
$converted = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user