Closed tychobrailleur closed 2 years ago
this was introduced by #1103
it is hard for me to test this because for me both values are identical:
ownerHomepage= countryID=3 leagueID=3
if country id is not correct, we should reset the change of that row:
public static NumberFormat CURRENCYFORMAT = CurrencyUtils.getLeagueCurrencyFormater(HOVerwaltung.instance().getModel().getCountryId());
as i read this https://www83.hattrick.org/Community/CHPP/NewDocs/File.aspx?name=worlddetails i thought currency would be selected by country id.
Describe the bug HO uses the Country ID (here 16) as the League ID (Ireland is 21, https://www85.hattrick.org/World/Leagues/League.aspx?LeagueID=21), see extract from HRF:
It saves it in XTRADATA, causing for example the wrong currency to be picked:
To Reproduce Steps to reproduce the behavior:
Screenshots
(Currency in Ireland should be €)
Platform information:
Additional context N/A