Permalink
Browse files

BUG Fixing regression from silverstripe/sapphire/67d1327

Status flag classes didn't pick up styling because the flag was
changed to prefix "status-".
  • Loading branch information...
1 parent e8f6b41 commit 20f044cef0d0b247110c7be5e26791ba30d41e52 @halkyon halkyon committed May 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/model/SiteTree.php
View
2 code/model/SiteTree.php
@@ -2621,7 +2621,7 @@ public function getTreeTitle() {
if(is_string($data)) $data = array('text' => $data);
$treeTitle .= sprintf(
"<span class=\"badge %s\"%s>%s</span>",
- Convert::raw2xml($class),
+ 'status-' . Convert::raw2xml($class),
(isset($data['title'])) ? sprintf(' title="%s"', Convert::raw2xml($data['title'])) : '',
Convert::raw2xml($data['text'])
);

0 comments on commit 20f044c

Please sign in to comment.