From: Cyperghost Date: Wed, 20 Dec 2023 11:20:37 +0000 (+0100) Subject: Export `fontAwesomeIcon` for files X-Git-Tag: 6.0.4~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=128b7f6f4f25da530f639999d0c549aa6f81af2a;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Export `fontAwesomeIcon` for files --- diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index c6f08cb..7012080 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -3220,6 +3220,9 @@ final class WBB4xExporter extends AbstractExporter $data['iconExtension'] = $row['iconExtension']; $additionalData['iconLocation'] = $this->getFilebaseDir() . 'images/file/' . \substr($row['iconHash'], 0, 2) . '/' . $row['fileID'] . '.' . $row['iconExtension']; } + if (!empty($row['fontAwesomeIcon'])) { + $data['fontAwesomeIcon'] = $row['fontAwesomeIcon']; + } if (!empty($categories)) { if (\count($categories) == 1) {