From: Marcel Werk Date: Sun, 7 Jul 2013 15:21:33 +0000 (+0200) Subject: Fixed import issue X-Git-Tag: 2.0.0_Beta_5~90^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0dd8cb2c209b13cc8059f6afe0260923d901d95;p=GitHub%2FWoltLab%2FWCF.git Fixed import issue --- diff --git a/wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php b/wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php index 70254aefc9..1610dedb85 100644 --- a/wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php +++ b/wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php @@ -35,7 +35,7 @@ class AbstractPollOptionVoteImporter implements IImporter { $data['pollID'] = ImportHandler::getInstance()->getNewID($this->pollObjectTypeName, $data['pollID']); if (!$data['pollID']) return 0; - $data['optionID'] = ImportHandler::getInstance()->getNewID($this->pollObjectTypeName, $data['optionID']); + $data['optionID'] = ImportHandler::getInstance()->getNewID($this->objectTypeName, $data['optionID']); if (!$data['optionID']) return 0; $sql = "INSERT INTO wcf".WCF_N."_poll_option_vote