]> git.mjollnir.org Git - moodle.git/commitdiff
fixed bug #5225, fix provided by hachiman
authorskodak <skodak>
Mon, 17 Apr 2006 21:26:05 +0000 (21:26 +0000)
committerskodak <skodak>
Mon, 17 Apr 2006 21:26:05 +0000 (21:26 +0000)
login/forgot_password.php

index 835677db5bffd700ca8a6b2fb1d728779cb3e974..8f540b9ccc7eabeb679d33d2753f2bcf6c3dd4db 100644 (file)
@@ -170,7 +170,7 @@ if ($param->action=='find' and confirm_sesskey()) {
 if (!empty($param->p) and !empty($param->s)) {
 
     update_login_count();
-    $user = get_complete_user_data('username',$s);
+    $user = get_complete_user_data('username',$param->s);
 
     // make sure that url relates to a valid user
     if (!empty($user)) {