webdav portal fixes

This commit is contained in:
vfedosevich 2015-03-09 03:16:45 -07:00
parent a4cb95e2db
commit 0a64381dac
10 changed files with 161 additions and 5 deletions

View file

@ -52,7 +52,7 @@ namespace WebsitePanel.WebDav.Core.Managers
Href = new Uri(x.Url),
ItemType = ItemType.Folder,
ContentLength = x.Size * 1024 * 1024,
AllocatedSpace = x.FRSMQuotaMB * 1024 * 1024,
AllocatedSpace = (long)x.FRSMQuotaMB * 1024 * 1024,
IsRootItem = true
}).ToArray();
}