plugins/admin/UserManager.php
changeset 194 6a4573507ff8
parent 145 6f0bbf88c325
child 205 62ee6685ad18
--- a/plugins/admin/UserManager.php	Thu Nov 01 15:13:27 2007 -0400
+++ b/plugins/admin/UserManager.php	Fri Nov 02 15:38:20 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) )