aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-06 21:22:51 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-06 21:22:51 +0000
commit6e6c85b9b7f43723d2b113736a5ff109e655fe05 (patch)
tree728ec40eb601d4c97fba850d35bdedc1a73739f9 /phpBB
parent6c3bc8ceabdb00d18aa1f643d99dffd7bbac1ec5 (diff)
downloadforums-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.php2
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