mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-28352: Fixed bug in html_writer::select_time causing not autoselecting month
This commit is contained in:
parent
269c884874
commit
e58dbe0fe8
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue