From: Tim Düsterhus Date: Sat, 28 Dec 2013 16:42:44 +0000 (+0100) Subject: Fix issue with malformed conversation folders (MyBB) X-Git-Tag: 2.0.1~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2dd414ac701d3fe0cec08e4a7003e30d5d094a50;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Fix issue with malformed conversation folders (MyBB) --- diff --git a/files/lib/system/exporter/MyBB16xExporter.class.php b/files/lib/system/exporter/MyBB16xExporter.class.php index 90bb520..204e85f 100644 --- a/files/lib/system/exporter/MyBB16xExporter.class.php +++ b/files/lib/system/exporter/MyBB16xExporter.class.php @@ -554,6 +554,7 @@ class MyBB16xExporter extends AbstractExporter { $statement = $this->database->prepareStatement($sql, $limit, $offset); $statement->execute(); while ($row = $statement->fetchArray()) { + if (empty($row['pmfolders'])) continue; $folders = explode('$%%$', $row['pmfolders']); foreach ($folders as $folder) { list($folderID, $folderName) = explode('**', $folder);