mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- fixes for the following bugs:
#5326 #5318 #5304 #5290 #5288 #5278 #5276 #5272 #5266 - also fixed the "Call-time pass-by-reference" bug #5252 - within this step changed the normalize calls to require references. - added captcha size variables to the class scope (suggestion was posted at area51) git-svn-id: file:///svn/phpbb/trunk@6584 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -983,15 +983,13 @@ class acp_users
|
||||
'yim' => request_var('yim', $user_row['user_yim']),
|
||||
'jabber' => request_var('jabber', $user_row['user_jabber']),
|
||||
'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'], true),
|
||||
'location' => utf8_normalize_nfc(request_var('location', $user_row['user_from'], true)),
|
||||
'occupation' => utf8_normalize_nfc(request_var('occupation', $user_row['user_occ'], true)),
|
||||
'interests' => utf8_normalize_nfc(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,10 +1549,8 @@ class acp_users
|
||||
$enable_bbcode = ($config['allow_sig_bbcode']) ? request_var('enable_bbcode', $this->optionget($user_row, 'bbcode')) : false;
|
||||
$enable_smilies = ($config['allow_sig_smilies']) ? request_var('enable_smilies', $this->optionget($user_row, 'smilies')) : false;
|
||||
$enable_urls = request_var('enable_urls', true);
|
||||
$signature = request_var('signature', $user_row['user_sig'], true);
|
||||
|
||||
utf8_normalize_nfc(&$signature);
|
||||
|
||||
$signature = utf8_normalize_nfc(request_var('signature', $user_row['user_sig'], true));
|
||||
|
||||
$preview = (isset($_POST['preview'])) ? true : false;
|
||||
|
||||
if ($submit || $preview)
|
||||
|
Reference in New Issue
Block a user