From 6bddcd8077eaa17badb28b28609e4173c0a3836e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Sep 2023 10:02:34 +0200 Subject: [PATCH] vB 3/4: Handle a NULL board description --- files/lib/system/exporter/VB3or4xExporter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lib/system/exporter/VB3or4xExporter.class.php b/files/lib/system/exporter/VB3or4xExporter.class.php index d7aa981..ad2ebc1 100644 --- a/files/lib/system/exporter/VB3or4xExporter.class.php +++ b/files/lib/system/exporter/VB3or4xExporter.class.php @@ -1291,7 +1291,7 @@ class VB3or4xExporter extends AbstractExporter 'position' => $board['displayorder'], 'boardType' => $boardType, 'title' => StringUtil::decodeHTML($board['title_clean']), - 'description' => StringUtil::decodeHTML($board['description_clean']), + 'description' => StringUtil::decodeHTML($board['description_clean'] ?? ''), 'descriptionUseHtml' => 0, 'externalURL' => $board['link'], 'countUserPosts' => $board['options'] & self::FORUMOPTIONS_COUNTPOSTS ? 1 : 0, -- 2.20.1