Skip to content

Commit

Permalink
analizators: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Feb 2, 2022
1 parent 17cb4a6 commit bb28679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/ASC.Files/Core/Core/FileStorageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public Folder<T> FolderRename(T folderId, string title)

var folderAccess = folder.Access;

if (string.Equals(folder.Title, title, StringComparison.OrdinalIgnoreCase))
if (!string.Equals(folder.Title, title, StringComparison.OrdinalIgnoreCase))
{
var newFolderID = folderDao.RenameFolder(folder, title);
folder = folderDao.GetFolder(newFolderID);
Expand Down

0 comments on commit bb28679

Please sign in to comment.