From 7fe42b0748d8ed71babc4e2a19a4e794a4f4ce59 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 14 Aug 2023 18:33:59 +0200 Subject: [PATCH] Fix missing export of label group descriptions (WoltLab Suite Forum) --- files/lib/system/exporter/WBB4xExporter.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/lib/system/exporter/WBB4xExporter.class.php b/files/lib/system/exporter/WBB4xExporter.class.php index 488129c..6b4e09d 100644 --- a/files/lib/system/exporter/WBB4xExporter.class.php +++ b/files/lib/system/exporter/WBB4xExporter.class.php @@ -257,8 +257,7 @@ final class WBB4xExporter extends AbstractExporter if (\in_array($item, $this->selectedData)) { if ( empty($this->fileSystemPath) - || ( - !@\file_exists($this->fileSystemPath . 'lib/core.functions.php') + || (!@\file_exists($this->fileSystemPath . 'lib/core.functions.php') && !@\file_exists($this->fileSystemPath . 'wcf/lib/core.functions.php') ) ) { @@ -1786,6 +1785,7 @@ final class WBB4xExporter extends AbstractExporter // import label group $data = [ 'groupName' => $labelGroup['groupName'], + 'groupDescription' => $labelGroup['groupDescription'] ?? '', ]; $additionalData = [ -- 2.20.1