Export `fontAwesomeIcon` for files
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 20 Dec 2023 11:20:37 +0000 (12:20 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 20 Dec 2023 11:20:37 +0000 (12:20 +0100)
files/lib/system/exporter/WBB4xExporter.class.php

index c6f08cb32b0ba865d193d9337b7c436b3f14cf49..7012080b3c8adfb4245288ea9deec9e5b3984038 100644 (file)
@@ -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) {