From 24e190ea8265d16445a3210f7b06de191e474004 Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Wed, 4 Oct 2017 16:59:53 +0100 Subject: [PATCH] Fix: TreeDropdownField showing broken page icons (fixes silverstripe/silverstripe-framework#7420) --- code/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index e8f6b8cb..de0c3f69 100755 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -2830,7 +2830,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid } $flags = $this->getStatusFlags(); $treeTitle = sprintf( - "%s", + "%s", Convert::raw2htmlid($this->class), Convert::raw2att(Convert::raw2json($children)), Convert::raw2xml(str_replace(array("\n","\r"),"",$this->MenuTitle))