mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Fixed SS_Datetime references in BrokenLinksReport and CommentAdmin (fixes #6063, thanks nicolaas) (from r111786)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112806 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7a53a14bc8
commit
f491f17bc0
@ -92,7 +92,7 @@ class CommentAdmin extends LeftAndMain {
|
|||||||
|
|
||||||
$table->setParentClass(false);
|
$table->setParentClass(false);
|
||||||
$table->setFieldCasting(array(
|
$table->setFieldCasting(array(
|
||||||
'Created' => 'SSDatetime->Full',
|
'Created' => 'SS_Datetime->Full',
|
||||||
'Comment' => array('HTMLText->LimitCharacters', 150)
|
'Comment' => array('HTMLText->LimitCharacters', 150)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ class BrokenLinksReport extends SS_Report {
|
|||||||
),
|
),
|
||||||
"LastEdited" => array(
|
"LastEdited" => array(
|
||||||
"title" => $dateTitle,
|
"title" => $dateTitle,
|
||||||
'casting' => 'SSDatetime->Full'
|
'casting' => 'SS_Datetime->Full'
|
||||||
),
|
),
|
||||||
"BrokenReason" => array(
|
"BrokenReason" => array(
|
||||||
"title" => _t('BrokenLinksReport.ColumnProblemType', "Problem type")
|
"title" => _t('BrokenLinksReport.ColumnProblemType', "Problem type")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user