mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 05:34:01 +02:00
message
git-svn-id: file:///svn/phpbb/trunk@6569 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -347,6 +347,10 @@ class acp_board
|
||||
|
||||
$this->new_config = $config;
|
||||
$cfg_array = (isset($_REQUEST['config'])) ? request_var('config', array('' => ''), true) : $this->new_config;
|
||||
if (isset($_REQUEST['config']))
|
||||
{
|
||||
utf8_normalize_nfc(&$cfg_array);
|
||||
}
|
||||
$error = array();
|
||||
|
||||
// We validate the complete config if whished
|
||||
|
@@ -985,11 +985,13 @@ class acp_users
|
||||
'website' => request_var('website', $user_row['user_website']),
|
||||
'location' => request_var('location', $user_row['user_from'], true),
|
||||
'occupation' => request_var('occupation', $user_row['user_occ'], true),
|
||||
'interests' => request_var('interests', $user_row['user_interests']),
|
||||
'interests' => request_var('interests', $user_row['user_interests'], true),
|
||||
'bday_day' => 0,
|
||||
'bday_month' => 0,
|
||||
'bday_year' => 0,
|
||||
);
|
||||
|
||||
utf8_normalize_nfc(array(&$data['location'], &$data['occupation'], &$data['interests']));
|
||||
|
||||
if ($user_row['user_birthday'])
|
||||
{
|
||||
@@ -1551,6 +1553,8 @@ class acp_users
|
||||
$enable_urls = request_var('enable_urls', true);
|
||||
$signature = request_var('signature', $user_row['user_sig'], true);
|
||||
|
||||
utf8_normalize_nfc(&$signature);
|
||||
|
||||
$preview = (isset($_POST['preview'])) ? true : false;
|
||||
|
||||
if ($submit || $preview)
|
||||
|
@@ -71,6 +71,8 @@ class acp_words
|
||||
$word_id = request_var('id', 0);
|
||||
$word = request_var('word', '', true);
|
||||
$replacement = request_var('replacement', '', true);
|
||||
|
||||
utf8_normalize_nfc(array(&$word, &$replacement));
|
||||
|
||||
if (!$word || !$replacement)
|
||||
{
|
||||
|
Reference in New Issue
Block a user