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

This commit is contained in:
Aparup Banerjee
2012-01-24 07:17:18 +08:00
+1 -1
View File
@@ -1182,7 +1182,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++) {