fixed bugs

This commit is contained in:
vfedosevich 2013-12-26 19:33:27 +03:00
parent 4514eb02e9
commit c6da249767
12 changed files with 83 additions and 55 deletions

View file

@ -345,7 +345,14 @@ namespace WebsitePanel.EnterpriseServer
return new SystemFile[0];
}
EnterpriseStorage es = GetEnterpriseStorage(GetEnterpriseStorageServiceID(org.PackageId));
int serviceId = GetEnterpriseStorageServiceID(org.PackageId);
if (serviceId == 0)
{
return new SystemFile[0];
}
EnterpriseStorage es = GetEnterpriseStorage(serviceId);
return es.GetFolders(org.OrganizationId);
}