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:58:49 +0000 (17:58 +0200)
files/lib/system/exporter/PhpBB31xExporter.class.php

index cff5b91d778b32d83c6d2a9d9ea3f591761c8563..45235978481a104a0d8e0f49bd93fde7e8dae926 100644 (file)
@@ -1069,7 +1069,7 @@ class PhpBB31xExporter extends AbstractExporter {
                        WHERE           poll_start <> ?
                        ORDER BY        topic_id";
                $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'],