Skip to content

Commit

Permalink
fix: chop malformed product IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrneo240 committed Jul 6, 2021
1 parent 6ca67ed commit 6910537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GDMENUCardManager.Core/Manager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ private void FillListText(StringBuilder sb, IpBin ip, string name, int number, b
sb.AppendLine($"{strnumber}.date={ip.ReleaseDate}");
if(is_openmenu)
{
string productid = ip.ProductNumber.Replace("-", "").Replace(" ", "");
string productid = ip.ProductNumber.Replace("-", "").Split(' ')[0];
sb.AppendLine($"{strnumber}.product={productid}");
}
sb.AppendLine();
Expand Down

0 comments on commit 6910537

Please sign in to comment.