Clear mentor entry of the user when is expertise is empty.
[platal.git] / modules / register / register.inc.php
index a8cde72..585200a 100644 (file)
@@ -148,6 +148,7 @@ function check_new_user(&$sub)
 
 function create_aliases (&$sub)
 {
+    global $globals;
     extract ($sub);
 
     require_once "xorg.misc.inc.php";