diff -r 90b7a52bea45 -r 62ee6685ad18 plugins/admin/UserManager.php --- a/plugins/admin/UserManager.php Sat Oct 20 21:59:27 2007 -0400 +++ b/plugins/admin/UserManager.php Thu Nov 15 18:00:39 2007 -0500 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.1.1 + * Version 1.0.2 (Coblynau) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License @@ -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) )