aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-06-08 12:27:23 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-06-08 12:27:23 +0000
commit151f230cfd63a591a0828f6a7e12efd6bb7b74b6 (patch)
treed3d5de38060e6e523ba02c9a8173bbaa8a1b7450
parentb3554f02c51cf5d6b60cf164a8c0b5ec9654295e (diff)
downloadforums-151f230cfd63a591a0828f6a7e12efd6bb7b74b6.tar
forums-151f230cfd63a591a0828f6a7e12efd6bb7b74b6.tar.gz
forums-151f230cfd63a591a0828f6a7e12efd6bb7b74b6.tar.bz2
forums-151f230cfd63a591a0828f6a7e12efd6bb7b74b6.tar.xz
forums-151f230cfd63a591a0828f6a7e12efd6bb7b74b6.zip
reverting earlier changes
git-svn-id: file:///svn/phpbb/trunk@7728 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/acp_profile.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index cfe982d9ae..dbece81e09 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -620,20 +620,13 @@ class acp_profile
foreach ($key_ary as $key)
{
- if (!isset($cp->vars[$key]))
+ if (!isset($_REQUEST[$key]))
{
- if (!isset($_REQUEST[$key]))
- {
- $var = false;
- }
- else
- {
- $_new_key_ary[$key] = (is_array($_REQUEST[$key])) ? request_var($key, array(''), true) : request_var($key, '', true);
- }
+ $var = false;
}
else
{
- $_new_key_ary[$key] = $cp->vars[$key];
+ $_new_key_ary[$key] = (is_array($_REQUEST[$key])) ? request_var($key, array(''), true) : request_var($key, '', true);
}
}