Skip to content

Commit

Permalink
GH-230 Fix a bug where galaxy data would not be fetched correctly due…
Browse files Browse the repository at this point in the history
… to incorrect planet type
  • Loading branch information
mdziekon committed Jul 6, 2022
1 parent 6bc2ff2 commit 66ec6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/per_module/common/userdata_helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function fetchGalaxyData(&$planet) {
$planetID = $planet['id'];

$selectorKey = (
$planet['type'] == 1 ?
$planet['planet_type'] == 1 ?
'id_planet' :
'id_moon'
);
Expand Down

0 comments on commit 66ec6bb

Please sign in to comment.