From 74927226328d789dd3f682c6337563830bebbd01 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Thu, 4 Jan 2007 03:33:34 +0000 Subject: [PATCH] mnet/lib: Bugfix: mnet_generate_keypair: Declare USER as global Author: Donal McMullan --- mnet/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnet/lib.php b/mnet/lib.php index ced60f647f..c28d323146 100644 --- a/mnet/lib.php +++ b/mnet/lib.php @@ -269,7 +269,7 @@ function mnet_get_keypair() { * @return string The signature over that text */ function mnet_generate_keypair($dn = null) { - global $CFG; + global $CFG, $USER; $host = strtolower($CFG->wwwroot); $host = ereg_replace("^http(s)?://",'',$host); $break = strpos($host.'/' , '/'); -- 2.39.5