diff --git a/mnet/lib.php b/mnet/lib.php index 5b67df12bf8..7bdadb9ca77 100644 --- a/mnet/lib.php +++ b/mnet/lib.php @@ -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); }