ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,697
- Points
- 823
Reputation:
XFI\Import\Importer\vBulletin::getProfileFieldChoices
PHP:
Code:
$choiceData = $this->decodeValue($field['data'], 'serialized-array');
[...]
foreach ($choiceData AS $key => $choice)
{
if ($choiceId = $this->convertToId($choice, 23))
$field['data']
may contain data that is not UTF-8, so if this is passed to convertToId
the string may get mangled ginving somewhat inconsistent results.Changing this to
PHP:
if ($choiceId = $this->convertToId($this->convertToUtf8($choice)...
Read more
Continue reading...