Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-25536 fixed incorrect reading of plugin options in imsenterprise …

…enrol plugin
  • Loading branch information...
commit 365bf67699e9285c9c59b77d7bd67143f1a6b583 1 parent 83da094
Petr Skoda skodak authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  enrol/imsenterprise/lib.php
3  enrol/imsenterprise/lib.php
View
@@ -748,8 +748,7 @@ function load_role_mappings() {
$this->rolemappings = array();
foreach($imsroles as $imsrolenum=>$imsrolename) {
- $this->rolemappings[$imsrolenum] = $this->rolemappings[$imsrolename]
- = $DB->get_field('config_plugins', 'value', array('name'=>'imsrolemap' . $imsrolenum));
+ $this->rolemappings[$imsrolenum] = $this->rolemappings[$imsrolename] = $this->get_config('imsrolemap' . $imsrolenum);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.