diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-30 14:24:55 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-03-30 14:24:55 +0000 |
commit | efcb1279f06d1016c25fae516158abdb895981ee (patch) | |
tree | d2132ac5293103c1434c7f17133c7df453e45e78 /phpBB/includes/functions.php | |
parent | 9f82dec04b18813c060e5a090a149c1a2c140689 (diff) | |
download | forums-efcb1279f06d1016c25fae516158abdb895981ee.tar forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.gz forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.bz2 forums-efcb1279f06d1016c25fae516158abdb895981ee.tar.xz forums-efcb1279f06d1016c25fae516158abdb895981ee.zip |
other fixes...
git-svn-id: file:///svn/phpbb/trunk@7242 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index acd7f4469e..184da5c6fd 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2083,7 +2083,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa { $redirect = request_var('redirect', "{$phpbb_root_path}index.$phpEx"); $message = ($l_success) ? $l_success : $user->lang['LOGIN_REDIRECT']; - $l_redirect = ($admin) ? $user->lang['PROCEED_TO_ACP'] : (($redirect === "{$phpbb_root_path}index.$phpEx") ? $user->lang['RETURN_INDEX'] : $user->lang['RETURN_PAGE']); + $l_redirect = ($admin) ? $user->lang['PROCEED_TO_ACP'] : (($redirect === "{$phpbb_root_path}index.$phpEx" || $redirect === "index.$phpEx") ? $user->lang['RETURN_INDEX'] : $user->lang['RETURN_PAGE']); // append/replace SID (may change during the session for AOL users) $redirect = reapply_sid($redirect); |