mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR Misc deprecation fixes
This commit is contained in:
parent
7798cd0afb
commit
4f7c9b34d2
@ -345,7 +345,7 @@ class BlogEntry_Form extends Form {
|
||||
$blogentry->writeToStage("Stage");
|
||||
$blogentry->publish("Stage", "Live");
|
||||
|
||||
Director::redirect(Director::currentURLSegment());
|
||||
Director::redirect($this->controller->Link());
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user