This commit is contained in:
parent
05f3fcf8a4
commit
3a7ca33416
@ -4657,6 +4657,7 @@ namespace VEPROMS.CSLA.Library
|
||||
string tmpstr = indx+1<DisplayNumber.Length?DisplayNumber.Substring(indx+1):null;
|
||||
// if the section's tab is a letter, we don't want a 0 on the section.... for example A.0.
|
||||
if (IsSection && tmpstr == null && System.Char.IsLetter(DisplayNumber, 0)) return -1;
|
||||
if (tmpstr.IndexOf('-') >= 0) return -1;
|
||||
return tmpstr==null?0:System.Convert.ToInt32(tmpstr);
|
||||
}
|
||||
return (-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user