From d61a3709727a4cb94254a8aa27701b20c6a6197f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 16 Feb 2010 20:11:57 +0000 Subject: [PATCH] MINOR Moved timezone coupling in SS_Report labels into timezoneawareness module git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99178 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/Report.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/Report.php b/code/Report.php index 2491dfe9..38078a90 100644 --- a/code/Report.php +++ b/code/Report.php @@ -169,11 +169,12 @@ class SS_Report extends ViewableData { */ function getCMSFields() { $fields = new FieldSet( - new LiteralField('ReportTitle', "

{$this->title()}

All times are in the server timezone, unless otherwise specified

") + new LiteralField( + 'ReportTitle', + "

{$this->title()}

" + ) ); - // $fields->push(); - if($this->description) $fields->push( new LiteralField('ReportDescription', "

{$this->description}

"));