Skip to content

Commit

Permalink
MDL-25536 fixed incorrect reading of plugin options in imsenterprise …
Browse files Browse the repository at this point in the history
…enrol plugin
  • Loading branch information
skodak committed Dec 6, 2010
1 parent 83da094 commit 365bf67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions enrol/imsenterprise/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 365bf67

Please sign in to comment.