plugins/admin/UserManager.php
changeset 1099 73abd46f5148
parent 1089 16a1e8626dd9
child 1141 5a858d6f3634
equal deleted inserted replaced
1098:be6cfe79128c 1099:73abd46f5148
   326     
   326     
   327     #
   327     #
   328     # END VALIDATION
   328     # END VALIDATION
   329     #
   329     #
   330   }
   330   }
   331   else if ( isset($_POST['action']['go']) || ( isset($_GET['src']) && $_GET['src'] == 'get' ) )
   331   else if ( isset($_POST['action']['go']) || ( isset($_GET['src']) && $_GET['src'] == 'get' ) || ($pathsuser = $paths->getParam(0)) )
   332   {
   332   {
   333     if ( isset($_GET['user']) )
   333     if ( isset($_GET['user']) )
   334     {
   334     {
   335       $username =& $_GET['user'];
   335       $username =& $_GET['user'];
   336     }
   336     }
   339       $username =& $_GET['username'];
   339       $username =& $_GET['username'];
   340     }
   340     }
   341     else if ( isset($_POST['username']) )
   341     else if ( isset($_POST['username']) )
   342     {
   342     {
   343       $username =& $_POST['username'];
   343       $username =& $_POST['username'];
       
   344     }
       
   345     else if ( $pathsuser )
       
   346     {
       
   347       $username = str_replace('_', ' ', dirtify_page_id($pathsuser));
   344     }
   348     }
   345     else
   349     else
   346     {
   350     {
   347       echo 'No username provided';
   351       echo 'No username provided';
   348       return false;
   352       return false;