Permalink
Browse files

Merge branch 'wip-MDL-28352-MOODLE_21_STABLE' of git://github.com/mar…

…inaglancy/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents b5c2f10 + 69c9195 commit 5528fbe8803cf31e0672fefbd753ce1a69c3d697 @nebgor nebgor committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/outputcomponents.php
@@ -1182,7 +1182,7 @@ public static function select_time($type, $name, $currenttime=0, $step=5, array
$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++) {

0 comments on commit 5528fbe

Please sign in to comment.