Skip to content

Commit

Permalink
MNET MDL-23001 bad use of get_config causing mnet SSO fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Jun 30, 2010
1 parent 8d86a2a commit 2c0b7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ function mnet_fields_to_import(mnet_peer $peer) {
*/
function _mnet_field_helper(mnet_peer $peer, $key) {
$tmp = mnet_profile_field_options();
$defaults = explode(',', get_config('mnetprofile' . $key . 'fields'));
$defaults = explode(',', get_config('moodle', 'mnetprofile' . $key . 'fields'));
if (1 === get_config('mnet', 'host' . $peer->id . $key . 'default')) {
return array_merge($tmp['forced'], $defaults);
}
Expand Down

0 comments on commit 2c0b7ba

Please sign in to comment.