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:
Dan Paulat 2025-09-14 18:19:25 -05:00 committed by GitHub
commit 4502b59830
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -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