mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge branch '3.4' into 3
This commit is contained in:
commit
dc4a02087b
@ -549,7 +549,9 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
||||
));
|
||||
if($live) {
|
||||
$link = $live->AbsoluteLink();
|
||||
if($includeStageEqualsLive) $link .= '?stage=Live';
|
||||
if($includeStageEqualsLive) {
|
||||
$link = Controller::join_links($link, '?stage=Live');
|
||||
}
|
||||
} else {
|
||||
$link = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user