Skip to content
Browse files

BUG Escape page titles in CommentAdmin table listing

  • Loading branch information...
1 parent 4c525fe commit c7b06663907b6e7b0502190e42ab258d5577af34 @chillu chillu committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 code/CommentAdmin.php
View
3 code/CommentAdmin.php
@@ -93,7 +93,8 @@ public function EditForm() {
$table->setParentClass(false);
$table->setFieldCasting(array(
'Created' => 'SS_Datetime->Full',
- 'Comment' => array('HTMLText->LimitCharacters', 150)
+ 'Comment' => array('HTMLText->LimitCharacters', 150),
+ 'Parent.Title' => 'Text',
));
$table->setPageSize(self::get_comments_per_page());

0 comments on commit c7b0666

Please sign in to comment.
Something went wrong with that request. Please try again.