MDL-25111 MNet: fixed typo in the callback function name
authorDavid Mudrak <david.mudrak@gmail.com>
Tue, 9 Nov 2010 13:11:28 +0000 (13:11 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Tue, 9 Nov 2010 13:11:28 +0000 (13:11 +0000)
Credit goes to Hubert Chathi.

lib/moodlelib.php

index e90d20d..ff9f666 100644 (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,