Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUG Escape tree title

  • Loading branch information...
commit 7a7c1a68572394a347cd339afe1b6e9d8f8d059d 1 parent 1861751
@halkyon halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/code/LeftAndMain.php
View
2  admin/code/LeftAndMain.php
@@ -755,7 +755,7 @@ public function getSiteTreeFor($className, $rootID = null, $childrenMethod = nul
$treeTitle = $customTreeTitle;
} elseif(class_exists('SiteConfig')) {
$siteConfig = SiteConfig::current_site_config();
- $treeTitle = $siteConfig->Title;
+ $treeTitle = Convert::raw2xml($siteConfig->Title);
} else {
$treeTitle = '...';
}
Please sign in to comment.
Something went wrong with that request. Please try again.