Skip to content

Commit

Permalink
Merge branch 'MDL-32592-25' of git://github.com/danpoltawski/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_25_STABLE
  • Loading branch information
marinaglancy committed Oct 1, 2013
2 parents e4f0750 + 7f5f0ba commit 31f1464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/imsenterprise/lib.php
Expand Up @@ -399,7 +399,7 @@ function process_group_tag($tagcontents) {
// Insert default names for teachers/students, from the current language

// Handle course categorisation (taken from the group.org.orgunit field if present)
if (strlen($group->category)>0) {
if (!empty($group->category)) {
// If the category is defined and exists in Moodle, we want to store it in that one
if ($catid = $DB->get_field('course_categories', 'id', array('name'=>$group->category))) {
$course->category = $catid;
Expand Down

0 comments on commit 31f1464

Please sign in to comment.