X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCalendar.class.php;h=46fcd6eba460a0db0932a3be7eddde3a0f78a9bd;hb=a07b6f8bccda226991ced6fe25f1c9c508e423e5;hp=dd6e83ab1a2e264e806226a4cda72b0122110565;hpb=90ff65cf45284f90b1c4e09fe575319b320f56ac;p=timetracker.git diff --git a/WEB-INF/lib/form/Calendar.class.php b/WEB-INF/lib/form/Calendar.class.php index dd6e83ab..46fcd6eb 100644 --- a/WEB-INF/lib/form/Calendar.class.php +++ b/WEB-INF/lib/form/Calendar.class.php @@ -47,7 +47,7 @@ class Calendar extends FormElement { // var $mAllDays = true; var $cClassName = "Calendar"; - function Calendar($name) { + function __construct($name) { $this->controlName = $name; $this->mMonthNames = array('January','February','March','April','May','June','July','August','September','October','November','December'); $this->mWeekDayShortNames = array('Su','Mo','Tu','We','Th','Fr','Sa');