plugins/admin/UserManager.php
changeset 225 b9a8a993f4e7
parent 221 e5302cb1945c
parent 224 6a4573507ff8
child 266 917dcc6c4ceb
--- a/plugins/admin/UserManager.php	Fri Nov 02 20:37:26 2007 -0400
+++ b/plugins/admin/UserManager.php	Fri Nov 02 20:40:45 2007 -0400
@@ -52,7 +52,14 @@
     }
     else
     {
-      if ( $session->user_id != $user_id )
+      if ( $session->user_id == $user_id )
+      {
+        $username = $session->username;
+        $password = false;
+        $email = $session->email;
+        $real_name = $session->real_name;
+      }
+      else
       {
         $username = $_POST['username'];
         if ( !preg_match('#^'.$session->valid_username.'$#', $username) )