Permalink
Browse files

BUG Escape page titles in CommentAdmin table listing

  • Loading branch information...
chillu committed Feb 17, 2013
1 parent 4c525fe commit c7b06663907b6e7b0502190e42ab258d5577af34
Showing with 2 additions and 1 deletion.
  1. +2 −1 code/CommentAdmin.php
View
@@ -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.