plugins/admin/UserManager.php
changeset 1099 73abd46f5148
parent 1089 16a1e8626dd9
child 1141 5a858d6f3634
--- 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';