Skip to content

Commit

Permalink
BUG Escape tree title
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Harvey committed Nov 5, 2012
1 parent 1861751 commit 7a7c1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/code/LeftAndMain.php
Expand Up @@ -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 = '...';
}
Expand Down

0 comments on commit 7a7c1a6

Please sign in to comment.