diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-06 21:22:51 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-08-06 21:22:51 +0000 |
commit | 6e6c85b9b7f43723d2b113736a5ff109e655fe05 (patch) | |
tree | 728ec40eb601d4c97fba850d35bdedc1a73739f9 /phpBB | |
parent | 6c3bc8ceabdb00d18aa1f643d99dffd7bbac1ec5 (diff) | |
download | forums-6e6c85b9b7f43723d2b113736a5ff109e655fe05.tar forums-6e6c85b9b7f43723d2b113736a5ff109e655fe05.tar.gz forums-6e6c85b9b7f43723d2b113736a5ff109e655fe05.tar.bz2 forums-6e6c85b9b7f43723d2b113736a5ff109e655fe05.tar.xz forums-6e6c85b9b7f43723d2b113736a5ff109e655fe05.zip |
Bad redirect on login from form
git-svn-id: file:///svn/phpbb/trunk@2830 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/login.php b/phpBB/login.php index 43681e3265..53003418c7 100644 --- a/phpBB/login.php +++ b/phpBB/login.php @@ -46,7 +46,7 @@ $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SO extract($HTTP_GET_VARS); extract($HTTP_POST_VARS); -$redirect = ( isset($redirect) ) ? $HTTP_SERVER_VARS['QUERY_STRING'] : ''; +$redirect = ( !empty($redirect) ) ? $HTTP_SERVER_VARS['QUERY_STRING'] : ''; // // Do the login/logout/form/whatever |