Unescape HTML entities in user titles
authorAlexander Ebert <ebert@woltlab.com>
Tue, 10 Jan 2023 11:44:24 +0000 (12:44 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 10 Jan 2023 11:44:24 +0000 (12:44 +0100)
files/lib/system/exporter/IPB3xExporter.class.php

index f6c81aaa7504b48737f518bac591aff36f5a9762..1f05a3ebaee2c634850b54af9ebe166e3d95ed44 100644 (file)
@@ -253,7 +253,7 @@ class IPB3xExporter extends AbstractExporter
                 'enableGravatar' => (!empty($row['pp_gravatar']) && $row['pp_gravatar'] == $row['email']) ? 1 : 0,
                 'signature' => self::fixMessage($row['signature']),
                 'profileHits' => $row['members_profile_views'],
-                'userTitle' => $row['title'] ?: '',
+                'userTitle' => $row['title'] ? self::fixSubject($row['title']) : '',
                 'lastActivityTime' => $row['last_activity'],
             ];