MDL-28352: Fixed bug in html_writer::select_time causing not autoselecting month
This commit is contained in:
@@ -1199,7 +1199,7 @@ class html_writer {
|
||||
$timeunits[$i] = userdate(gmmktime(12,0,0,$i,15,2000), "%B");
|
||||
}
|
||||
$userdatetype = 'month';
|
||||
$currentdate['month'] = $currentdate['mon'];
|
||||
$currentdate['month'] = (int)$currentdate['mon'];
|
||||
break;
|
||||
case 'days':
|
||||
for ($i=1; $i<=31; $i++) {
|
||||
|
||||
Reference in New Issue
Block a user