mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
Fixing XmlRpc with Autoroute
--HG-- branch : 1.x
This commit is contained in:
@@ -211,7 +211,7 @@ namespace Orchard.Blogs.Services {
|
||||
//AutoroutePart
|
||||
dynamic dBlogPost = blogPost;
|
||||
if (dBlogPost.AutoroutePart!=null){
|
||||
dBlogPost.AutoroutePart.Alias = slug;
|
||||
dBlogPost.AutoroutePart.DisplayAlias = slug;
|
||||
}
|
||||
|
||||
_contentManager.Create(blogPost, VersionOptions.Draft);
|
||||
@@ -294,7 +294,7 @@ namespace Orchard.Blogs.Services {
|
||||
//AutoroutePart
|
||||
dynamic dBlogPost = blogPost;
|
||||
if (dBlogPost.AutoroutePart != null) {
|
||||
dBlogPost.AutoroutePart.Alias = slug;
|
||||
dBlogPost.AutoroutePart.DisplayAlias = slug;
|
||||
}
|
||||
|
||||
// try to get the UTC timezone by default
|
||||
|
||||
Reference in New Issue
Block a user