BUG Escape page titles in CommentAdmin table listing

This commit is contained in:
Ingo Schommer 2013-02-17 23:22:02 +01:00
parent 3aef9fef1e
commit 4b650df618
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ class CommentAdmin extends LeftAndMain {
$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());