]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/DateField.class.php
Getting rid of PHP Deprecated warnings.
[timetracker.git] / WEB-INF / lib / form / DateField.class.php
index 7fbbcbc5360f8a8d83feb9f42ba28b6fe2c87c3d..7d3886954f1f1f4b217aba8ce882d9af1fba6552 100644 (file)
@@ -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();