Fix BBCodes in signatures (vB 5)
authorTim Düsterhus <tim@bastelstu.be>
Fri, 17 Jan 2020 11:21:22 +0000 (12:21 +0100)
committerTim Düsterhus <tim@bastelstu.be>
Fri, 17 Jan 2020 11:21:22 +0000 (12:21 +0100)
files/lib/system/exporter/VB5xExporter.class.php

index 85c2d56202490e7a19f95237e705d54313507494..9c7041f0ee4639d13b5e337bacc74efc8c5e1095 100644 (file)
@@ -291,7 +291,7 @@ class VB5xExporter extends AbstractExporter {
                                'activationCode' => $row['activationType'] !== null && $row['activationType'] == 0 && $row['emailchange'] == 0 ? UserRegistrationUtil::getActivationCode() : 0, // vB's codes are strings
                                'oldUsername' => '',
                                'registrationIpAddress' => UserUtil::convertIPv4To6($row['ipaddress']), // TODO: check whether this is the registration IP
-                               'signature' => $row['signature'],
+                               'signature' => self::fixBBCodes($row['signature']),
                                'userTitle' => ($row['customtitle'] != 0) ? $row['usertitle'] : '',
                                'lastActivityTime' => $row['lastactivity']
                        ];