Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…inaglancy/moodle into MOODLE_21_STABLE
  • Loading branch information...
commit 5528fbe8803cf31e0672fefbd753ce1a69c3d697 2 parents b5c2f10 + 69c9195
@nebgor nebgor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/outputcomponents.php
View
2  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++) {
Please sign in to comment.
Something went wrong with that request. Please try again.