BUGFIX Returning File->getTreeTitle() with user input XML escaped, mirroring functionality in SiteTree->getTreeTitle()

This commit is contained in:
Ingo Schommer 2012-05-03 17:41:02 +02:00
parent 68051fdb96
commit 42bc5ffb47

View File

@ -240,7 +240,7 @@ class File extends DataObject {
* @return string
*/
function getTreeTitle() {
return $this->Title;
return Convert::raw2xml($this->Title);
}
/**