mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +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:
@@ -579,7 +579,7 @@ class custom_profile
|
||||
|
||||
if (gettype($value) == 'string')
|
||||
{
|
||||
utf8_normalize_nfc(&$value);
|
||||
$value = utf8_normalize_nfc($value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -865,8 +865,7 @@ class custom_profile
|
||||
|
||||
case FIELD_STRING:
|
||||
case FIELD_TEXT:
|
||||
$var = request_var($var_name, $profile_row['field_default_value'], true);
|
||||
utf8_normalize_nfc(&$var);
|
||||
$var = utf8_normalize_nfc(request_var($var_name, $profile_row['field_default_value'], true));
|
||||
break;
|
||||
|
||||
case FIELD_INT:
|
||||
|
Reference in New Issue
Block a user