diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-14 16:09:09 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-14 16:09:09 +0000 |
commit | 1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c (patch) | |
tree | e67f19c872dff4628135870cc078a11877921dda /phpBB | |
parent | 15c47897346929b6b9f00c675157c089dcf2ef07 (diff) | |
download | forums-1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c.tar forums-1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c.tar.gz forums-1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c.tar.bz2 forums-1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c.tar.xz forums-1ffe63e760bc82b6ce68a09cfc9f2fa91d01e49c.zip |
Fix "cannot find user" error bug #517258
git-svn-id: file:///svn/phpbb/trunk@2144 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/admin/admin_users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/admin/admin_users.php b/phpBB/admin/admin_users.php index 574de714fd..1606383bba 100644 --- a/phpBB/admin/admin_users.php +++ b/phpBB/admin/admin_users.php @@ -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 ) { |