Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Author: Donal McMullan <donal@catalyst.net.nz>
  • Loading branch information...
commit 74927226328d789dd3f682c6337563830bebbd01 1 parent f32689a
authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mnet/lib.php
2  mnet/lib.php
@@ -269,7 +269,7 @@ function mnet_get_keypair() {
269 269
  * @return  string      The signature over that text
270 270
  */
271 271
 function mnet_generate_keypair($dn = null) {
272  
-    global $CFG;
  272
+    global $CFG, $USER;
273 273
     $host = strtolower($CFG->wwwroot);
274 274
     $host = ereg_replace("^http(s)?://",'',$host);
275 275
     $break = strpos($host.'/' , '/');

0 notes on commit 7492722

Please sign in to comment.
Something went wrong with that request. Please try again.