Permalink
Browse files

mnet/lib: Bugfix: mnet_generate_keypair: Declare USER as global

Author: Donal McMullan <donal@catalyst.net.nz>
  • Loading branch information...
1 parent f32689a commit 74927226328d789dd3f682c6337563830bebbd01 martinlanghoff committed Jan 4, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mnet/lib.php
View
2 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.'/' , '/');

0 comments on commit 7492722

Please sign in to comment.