Skip to content

Commit

Permalink
Merge pull request #79 from WoltLab/export-additional-data
Browse files Browse the repository at this point in the history
Export for categories `additionalData`
  • Loading branch information
BurntimeX authored Dec 19, 2023
2 parents af49e0f + 4664814 commit 19a66ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/lib/system/exporter/WBB4xExporter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -4277,6 +4277,9 @@ private function exportCategories($objectType, $importer, $offset, $limit)
if (\str_starts_with($row['description'], 'wcf.category')) {
$i18nValues[] = $row['description'];
}
if (\unserialize($row['additionalData']) !== false) {
$categories[$row['categoryID']]['additionalData'] = $row['additionalData'];
}
}

$i18nValues = $this->getI18nValues($i18nValues);
Expand Down

0 comments on commit 19a66ea

Please sign in to comment.