diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-09-24 18:53:33 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-09-25 20:35:07 +0200 |
commit | c09bdb6c5535e7a7164acbe04e152ce415bfce9e (patch) | |
tree | bfb34d0e1949fb8dc7cfe0acce3a15ccdad29daf | |
parent | fccd7f0ab5ab559dc89be6af9e582a986af8bb13 (diff) | |
download | forums-c09bdb6c5535e7a7164acbe04e152ce415bfce9e.tar forums-c09bdb6c5535e7a7164acbe04e152ce415bfce9e.tar.gz forums-c09bdb6c5535e7a7164acbe04e152ce415bfce9e.tar.bz2 forums-c09bdb6c5535e7a7164acbe04e152ce415bfce9e.tar.xz forums-c09bdb6c5535e7a7164acbe04e152ce415bfce9e.zip |
[feature/request-class] Remove tricky $_* is_array from acp_profile
PHPBB3-9716
-rw-r--r-- | phpBB/includes/acp/acp_profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index 776a59c8c7..b66737ce03 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -691,7 +691,7 @@ class acp_profile } else { - $_new_key_ary[$key] = ($request->is_array($key)) ? utf8_normalize_nfc(request_var($key, array(''), true)) : utf8_normalize_nfc(request_var($key, '', true)); + $_new_key_ary[$key] = ($field_type == FIELD_BOOL && $key == 'lang_options') ? utf8_normalize_nfc(request_var($key, array(''), true)) : utf8_normalize_nfc(request_var($key, '', true)); } } } |