Browse files

Merge branch 'MDL-35321-MOODLE_23_STABLE' of git://github.com/micaher…

…ne/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents a2b837e + 7ab5b06 commit df87119b5a892665c37d36339f6058925fbd1d0d @danpoltawski danpoltawski committed Sep 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/editsection.php
View
2 course/editsection.php
@@ -78,7 +78,7 @@
if (!empty($CFG->enableavailability)) {
$section->availablefrom = $data->availablefrom;
$section->availableuntil = $data->availableuntil;
- if (!empty($data->groupingid)) {
+ if (isset($data->groupingid)) {
$section->groupingid = $data->groupingid;
}
$section->showavailability = $data->showavailability;

0 comments on commit df87119

Please sign in to comment.