MDL-25111 MNet: fixed typo in the callback function name

Credit goes to Hubert Chathi.
This commit is contained in:
David Mudrak 2010-11-09 13:11:28 +00:00
parent 6397deaec8
commit 9dbc2e7b4a

View File

@ -4779,7 +4779,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml='', $a
require_once($CFG->dirroot.'/mnet/lib.php');
$jumpurl = mnet_get_idp_jump_url($user);
$callback = partial('mnet_sso_apply_redirection', $jumpurl);
$callback = partial('mnet_sso_apply_indirection', $jumpurl);
$messagetext = preg_replace_callback("%($CFG->wwwroot[^[:space:]]*)%",
$callback,