Auto stash before rebase of "origin/RecycleCheck"
correction
This commit is contained in:
parent
3cd7249750
commit
d2fa8902f9
|
@ -322,7 +322,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
if(!PagePathIsDeleted(page.Path, page.SiteId, _pageList))
|
||||
if(PagePathIsDeleted(page.Path, page.SiteId, _pageList))
|
||||
{
|
||||
AddModuleMessage(string.Format(Localizer["Message.Page.Deleted"], _path), MessageType.Warning);
|
||||
return;
|
||||
|
@ -421,6 +421,6 @@
|
|||
|
||||
private static bool PagePathIsDeleted(string pagePath, int siteId, List<Page> existingPages)
|
||||
{
|
||||
return !existingPages.Any(page => page.SiteId == siteId && page.Path == pagePath && page.IsDeleted == true);
|
||||
return existingPages.Any(page => page.SiteId == siteId && page.Path == pagePath && page.IsDeleted == true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user