Merge branch 'wip-MDL-28352-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Aparup Banerjee 2012-01-24 07:15:15 +08:00
commit 9c690979c2

View File

@ -1199,7 +1199,7 @@ class html_writer {
$timeunits[$i] = userdate(gmmktime(12,0,0,$i,15,2000), "%B"); $timeunits[$i] = userdate(gmmktime(12,0,0,$i,15,2000), "%B");
} }
$userdatetype = 'month'; $userdatetype = 'month';
$currentdate['month'] = $currentdate['mon']; $currentdate['month'] = (int)$currentdate['mon'];
break; break;
case 'days': case 'days':
for ($i=1; $i<=31; $i++) { for ($i=1; $i<=31; $i++) {