Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUG Escape page titles in CommentAdmin table listing

  • Loading branch information...
commit c7b06663907b6e7b0502190e42ab258d5577af34 1 parent 4c525fe
@chillu chillu authored
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());
Please sign in to comment.
Something went wrong with that request. Please try again.