fix for T6 guid length including sign
This commit is contained in:
parent
2260d8974d
commit
a362caebac
@ -268,7 +268,7 @@ namespace SharedLibraryCore
|
|||||||
str = str.Substring(0, Math.Min(str.Length, 16));
|
str = str.Substring(0, Math.Min(str.Length, 16));
|
||||||
long id;
|
long id;
|
||||||
|
|
||||||
if (str.Length <= 10)
|
if (str.Length <= 11) // 10 numeric characters + signed character
|
||||||
{
|
{
|
||||||
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
|
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user