diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-07-11 22:09:56 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-07-11 22:09:56 +0000 |
commit | f62ac3a32f7ae508a925a3f6cf47483b6e85c48b (patch) | |
tree | 66c137a1f7e5543f75f2225c7859271dc28398d8 /phpBB | |
parent | 5aed89a8a1c970db2c029e9dc7a55bd1a97b20f8 (diff) | |
download | forums-f62ac3a32f7ae508a925a3f6cf47483b6e85c48b.tar forums-f62ac3a32f7ae508a925a3f6cf47483b6e85c48b.tar.gz forums-f62ac3a32f7ae508a925a3f6cf47483b6e85c48b.tar.bz2 forums-f62ac3a32f7ae508a925a3f6cf47483b6e85c48b.tar.xz forums-f62ac3a32f7ae508a925a3f6cf47483b6e85c48b.zip |
#2487 Ok, this one is finally fixed. :) Thanks to Dark Soul for letting me test this at his server. :)
and now i am going into my corner crying out loud.
git-svn-id: file:///svn/phpbb/trunk@6170 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 3e340b7e16..69041367ac 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1133,7 +1133,7 @@ class user extends session // ucp profile reg_details page ... of course do not redirect if we're already in the ucp if (!defined('IN_ADMIN') && $config['chg_passforce'] && $this->data['user_passchg'] < time() - ($config['chg_passforce'] * 86400)) { - if (strpos($this->page['query_string'], 'mode=reg_details') !== false && $this->page['page_name'] == "ucp.$phpEx") + if (strpos($this->page['query_string'], 'mode=reg_details') === false && $this->page['page_name'] != "ucp.$phpEx") { redirect(append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=profile&mode=reg_details')); } |