mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 09:42:29 +08:00
committed by
Sébastien Ros
parent
66480eb6b1
commit
e8f22a472c
@@ -180,7 +180,9 @@ namespace Orchard.Autoroute.Services {
|
||||
}
|
||||
|
||||
public void RemoveAliases(AutoroutePart part) {
|
||||
_aliasService.Delete(part.Path, AliasSource);
|
||||
if (part != null) {
|
||||
_aliasService.Delete(part.Path, AliasSource);
|
||||
}
|
||||
}
|
||||
|
||||
public string GenerateUniqueSlug(AutoroutePart part, IEnumerable<string> existingPaths) {
|
||||
|
||||
Reference in New Issue
Block a user