From 66ce174441eaf1e042be3b4006e4fafbd5f04fa1 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 29 Jan 2009 04:44:45 +0000 Subject: [PATCH] MINOR Code formatting fix in DateField git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@70953 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/DateField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/DateField.php b/forms/DateField.php index e0b35dfd1..92f26bf5b 100755 --- a/forms/DateField.php +++ b/forms/DateField.php @@ -112,12 +112,12 @@ class DateField_Disabled extends DateField { $df->setValue($this->dataValue()); if(date('Y-m-d', time()) == $this->dataValue()) { - $val = Convert::raw2xml($this->value . ' ('._t('DateField.TODAY','today').')'); + $val = Convert::raw2xml($this->value . ' ('._t('DateField.TODAY','today').')'); } else { $val = Convert::raw2xml($this->value . ', ' . $df->Ago()); } } else { - $val = '('._t('DateField.NOTSET', 'not set').')'; + $val = '('._t('DateField.NOTSET', 'not set').')'; } return "id() . "\">$val