mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 18:40:06 +00:00
Merge pull request #507 from dpaulat/hotfix/validate-level3-product
Ensure level 3 product is validated in settings to prevent crash
This commit is contained in:
commit
4502b59830
2 changed files with 5 additions and 3 deletions
|
|
@ -86,8 +86,10 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
// TODO: Validate level 3 product
|
||||
return true;
|
||||
// Validate level 3 product
|
||||
const auto level3Product =
|
||||
common::GetLevel3ProductByAwipsId(value);
|
||||
return !level3Product.empty() && level3Product != "?";
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c68bee74549963e9a02e0fa998efad0f10f8256b
|
||||
Subproject commit fd8bc8bf1d07474886ce6773abffab4d315d0cd0
|
||||
Loading…
Add table
Add a link
Reference in a new issue