mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
Fix "cannot find user" error bug #517258
git-svn-id: file:///svn/phpbb/trunk@2144 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
15c4789734
commit
1ffe63e760
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ if( $mode == "edit" || $mode == "save" && ( isset($HTTP_POST_VARS['username']) |
|
|||
{
|
||||
if( isset($HTTP_GET_VARS[POST_USERS_URL]) || isset($HTTP_POST_VARS[POST_USERS_URL]) )
|
||||
{
|
||||
$user_id = ( isset($HTTP_POST_VARS[POST_USERS_URL]) ) ? $HTTP_POST_VARS[POST_USERS_URL] : $HTTP_GET_VARS[POST_USERS_URL];
|
||||
$user_id = ( isset($HTTP_POST_VARS[POST_USERS_URL]) ) ? intval($HTTP_POST_VARS[POST_USERS_URL]) : intval($HTTP_GET_VARS[POST_USERS_URL]);
|
||||
$this_userdata = get_userdata($user_id);
|
||||
if( !$this_userdata )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue