Update TMSSetupsImpl.java

update Null safety for shortCode
This commit is contained in:
MooN 2025-12-12 14:14:27 +06:30
parent d5bef92cff
commit e6e6f68360

View File

@ -215,7 +215,7 @@ public class TMSSetupsImpl implements TMSSetups{
// SystemParamsOperation.getInstance().setSecHostCurrency(currencyTextToCode(siriusHost.getCurrency()));
// }
}
if (siriusHost.getShortCode().isEmpty()) {
if (siriusHost.getShortCode() == null || siriusHost.getShortCode().isEmpty()) {
SystemParamsOperation.getInstance().setShortCode("");
}