Fix missing limit in VB3or4xExporter::exportThreads
authorTim Düsterhus <timwolla@googlemail.com>
Tue, 26 Nov 2013 18:35:51 +0000 (19:35 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Tue, 26 Nov 2013 18:35:51 +0000 (19:35 +0100)
files/lib/system/exporter/VB3or4xExporter.class.php

index 04d8cf7e1427cd5a9fe7691e372e88e8c93c5818..57ce412c1f3c4055e24d97358c3cadefb763f09b 100644 (file)
@@ -776,7 +776,7 @@ class VB3or4xExporter extends AbstractExporter {
                                        ) AS deleteTime
                        FROM            ".$this->databasePrefix."thread thread
                        ORDER BY        thread.threadid ASC";
-               $statement = $this->database->prepareStatement($sql);
+               $statement = $this->database->prepareStatement($sql, $limit, $offset);
                $statement->execute(array(14)); // 14 = soft delete
                while ($row = $statement->fetchArray()) {
                        $data = array(