Fix CreateFile with int folderId
This commit is contained in:
parent
4a977d711b
commit
57bab78cf2
@ -1059,8 +1059,15 @@ namespace ASC.Web.Files
|
||||
await CreateFile(context, GlobalFolderHelper.FolderMy);
|
||||
}
|
||||
else
|
||||
{
|
||||
await CreateFile(context, folderId);
|
||||
{
|
||||
if (int.TryParse(folderId, out var id))
|
||||
{
|
||||
await CreateFile(context, id);
|
||||
}
|
||||
else
|
||||
{
|
||||
await CreateFile(context, folderId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user