Permalink
Browse files

MDL-35321 course sections Enable reset of grouping access

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

Please sign in to comment.