fixed sub format problems

This commit is contained in:
John Jenko 2010-03-25 14:36:25 +00:00
parent 6947709149
commit 77b8e31d8d

View File

@ -169,6 +169,10 @@ namespace DataLoader
// see if the format has been added, if not go get it.
rec = Format.GetByParentID_Name(parent.FormatID, format);
// JSJ - 02/04/10 this fixes cases where a subformat is no longer available,
// default to the parent format
if (rec == null)
rec = parent;
}
catch (Exception ex)
{