Skip to content
Browse files

MDL-35321 course sections Enable reset of grouping access

  • Loading branch information...
1 parent dafc3b7 commit b61670c7a7cfcf0dc34347e1b55b533639faea11 Michael Aherne committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/editsection.php
View
2 course/editsection.php
@@ -79,7 +79,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 b61670c

Please sign in to comment.
Something went wrong with that request. Please try again.