1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[feature/request-class] Remove tricky $_* is_array from acp_profile

PHPBB3-9716
This commit is contained in:
Igor Wiedler 2010-09-24 18:53:33 +02:00
parent fccd7f0ab5
commit c09bdb6c55

View File

@ -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));
}
}
}