If no value found with 12 character ROID, try 16 character ROID

This commit is contained in:
Rich 2013-05-21 14:14:12 +00:00
parent 9ada371fbf
commit d09eac44b8

View File

@ -347,6 +347,8 @@ namespace VEPROMS.CSLA.Library
{ {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
rochild roc = GetRoChild12(ROID); rochild roc = GetRoChild12(ROID);
if (roc.value == null)
roc = GetRoChild(ROID);
sb.Append(roc.title.Replace(roc.appid,"").Replace(roc.value,"").Trim()); sb.Append(roc.title.Replace(roc.appid,"").Replace(roc.value,"").Trim());
do do
{ {