Merge branch '3.4' into 3

This commit is contained in:
Daniel Hensby 2016-07-14 12:24:31 +01:00
commit dc4a02087b
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -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;
}