Merge branch '3.3' into 3.4

This commit is contained in:
Daniel Hensby 2016-07-14 12:24:04 +01:00
commit c7b1a4ded8
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;
}