mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
BUG Correct formatting of ParentTitle
This commit is contained in:
parent
1410702fce
commit
453aa86f68
@ -14,8 +14,8 @@ class CommentsGridFieldConfig extends GridFieldConfig_RecordEditor {
|
||||
'ParentTitle' => function($value, &$item) {
|
||||
return sprintf(
|
||||
'<a href="%s" class="cms-panel-link external-link action" target="_blank">%s</a>',
|
||||
Convert::raw2xml($item->Link()),
|
||||
Convert::raw2xml($value)
|
||||
Convert::raw2att($item->Link()),
|
||||
$item->obj('ParentTitle')->forTemplate()
|
||||
);
|
||||
}
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user