mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX should be
This commit is contained in:
parent
9b2dcc295f
commit
431cd38065
@ -75,7 +75,7 @@ class BlogPost extends Page {
|
||||
|
||||
// We're going to add the url segment to sidebar so we're making it a little lighter
|
||||
$urlSegment = $fields->dataFieldByName('URLSegment');
|
||||
$urlSegment->setURLPrefix('/' . Director::makeRelative($this->Parent()->Link()));
|
||||
$urlSegment->setURLPrefix('/' . Director::makeRelative($self->Parent()->Link()));
|
||||
|
||||
// Remove the MenuTitle and URLSegment from the main tab
|
||||
$fields->removeFieldsFromTab('Root.Main', array(
|
||||
|
Loading…
Reference in New Issue
Block a user