Fixed import issue
authorMarcel Werk <burntime@woltlab.com>
Sun, 7 Jul 2013 15:21:33 +0000 (17:21 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 7 Jul 2013 15:21:33 +0000 (17:21 +0200)
wcfsetup/install/files/lib/system/importer/AbstractPollOptionVoteImporter.class.php

index 70254aefc9df705b3ece421b3e587358f9cc3480..1610dedb855ab29bc607e7ed73699b256997af1a 100644 (file)
@@ -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