From db4a6999fcf2aff0a27b974dc7dba5dc3f3b6ae5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 12 Dec 2013 03:44:19 +0100 Subject: [PATCH] Fixed ACL export --- files/lib/system/exporter/WBB3xExporter.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/lib/system/exporter/WBB3xExporter.class.php b/files/lib/system/exporter/WBB3xExporter.class.php index a53aee7..3f9d4aa 100644 --- a/files/lib/system/exporter/WBB3xExporter.class.php +++ b/files/lib/system/exporter/WBB3xExporter.class.php @@ -1525,6 +1525,8 @@ class WBB3xExporter extends AbstractExporter { unset($row['boardID'], $row['groupID']); foreach ($row as $permission => $value) { + if ($value == -1) continue; + ImportHandler::getInstance()->getImporter('com.woltlab.wbb.acl')->import(0, array_merge($data, array('optionValue' => $value)), array('optionName' => $permission)); } } @@ -1551,6 +1553,8 @@ class WBB3xExporter extends AbstractExporter { unset($row['boardID'], $row['userID']); foreach ($row as $permission => $value) { + if ($value == -1) continue; + ImportHandler::getInstance()->getImporter('com.woltlab.wbb.acl')->import(0, array_merge($data, array('optionValue' => $value)), array('optionName' => $permission)); } } -- 2.20.1