mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #756 from halkyon/status_flag_class_fix
BUG Fixing regression from silverstripe/sapphire/67d1327
This commit is contained in:
commit
fbf6faf947
@ -2621,7 +2621,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
if(is_string($data)) $data = array('text' => $data);
|
if(is_string($data)) $data = array('text' => $data);
|
||||||
$treeTitle .= sprintf(
|
$treeTitle .= sprintf(
|
||||||
"<span class=\"badge %s\"%s>%s</span>",
|
"<span class=\"badge %s\"%s>%s</span>",
|
||||||
Convert::raw2xml($class),
|
'status-' . Convert::raw2xml($class),
|
||||||
(isset($data['title'])) ? sprintf(' title="%s"', Convert::raw2xml($data['title'])) : '',
|
(isset($data['title'])) ? sprintf(' title="%s"', Convert::raw2xml($data['title'])) : '',
|
||||||
Convert::raw2xml($data['text'])
|
Convert::raw2xml($data['text'])
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user