This commit is contained in:
Kathy Ruffing 2012-02-24 16:29:30 +00:00
parent 92e7711be0
commit 65b1e90e0f

View File

@ -207,6 +207,7 @@ namespace VEPROMS.CSLA.Library
{
string rofstfilepath = rdi.FolderPath + @"\ro.fst";
DirectoryInfo di = new DirectoryInfo(rdi.FolderPath);
if (!di.Exists) return null;
// check if this rofst has been loaded, i.e. dts on file versus dts in db...
// if so, just make association with docversion.
@ -525,7 +526,7 @@ namespace VEPROMS.CSLA.Library
if (myROImagesList.ContainsKey(key))
{
int imageID = myROImagesList[key];
if(myROImageIDs.Contains(imageID))
if(!myROImageIDs.Contains(imageID))
myROImageIDs.Add(imageID);
}
else