Fix poll export (phpBB)
authorTim Düsterhus <tim@bastelstu.be>
Wed, 5 Aug 2015 15:56:19 +0000 (17:56 +0200)
committerTim Düsterhus <tim@bastelstu.be>
Wed, 5 Aug 2015 15:56:19 +0000 (17:56 +0200)
files/lib/system/exporter/PhpBB3xExporter.class.php

index caa50b7a39d72cb159e2d9f3c0d7c7833b10f40c..2249acf51cdfdeab45a45eda231a6b0b0d36b95a 100644 (file)
@@ -970,7 +970,7 @@ class PhpBB3xExporter extends AbstractExporter {
                        WHERE           poll_start <> ?
                        ORDER BY        topic_id ASC";
                $statement = $this->database->prepareStatement($sql, $limit, $offset);
-               $statement->execute(array('post'));
+               $statement->execute(array(0));
                while ($row = $statement->fetchArray()) {
                        ImportHandler::getInstance()->getImporter('com.woltlab.wbb.poll')->import($row['topic_id'], array(
                                'objectID' => $row['topic_first_post_id'],