--- a/plugins/admin/UserManager.php Fri Aug 21 20:30:52 2009 -0400
+++ b/plugins/admin/UserManager.php Fri Aug 21 20:37:18 2009 -0400
@@ -328,7 +328,7 @@
# END VALIDATION
#
}
- else if ( isset($_POST['action']['go']) || ( isset($_GET['src']) && $_GET['src'] == 'get' ) )
+ else if ( isset($_POST['action']['go']) || ( isset($_GET['src']) && $_GET['src'] == 'get' ) || ($pathsuser = $paths->getParam(0)) )
{
if ( isset($_GET['user']) )
{
@@ -342,6 +342,10 @@
{
$username =& $_POST['username'];
}
+ else if ( $pathsuser )
+ {
+ $username = str_replace('_', ' ', dirtify_page_id($pathsuser));
+ }
else
{
echo 'No username provided';