X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9a23a8c0a51b7ec38a96f525484134f3cb85dc7e..5a6a33edf0ec2ac012715e12c35c7285b64c099b:/WEB-INF/lib/form/DateField.class.php?ds=sidebyside diff --git a/WEB-INF/lib/form/DateField.class.php b/WEB-INF/lib/form/DateField.class.php index aa8a1498..7d388695 100644 --- a/WEB-INF/lib/form/DateField.class.php +++ b/WEB-INF/lib/form/DateField.class.php @@ -39,7 +39,7 @@ class DateField extends TextField { var $lCalendarButtons = array('today'=>'Today', 'close'=>'Close'); - function DateField($name) { + function __construct($name) { $this->mName = $name; $this->mDateObj = new DateAndTime(); @@ -427,4 +427,3 @@ class DateField extends TextField { return $html; } } -?> \ No newline at end of file