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