From: Alexander Ebert Date: Mon, 24 Oct 2022 15:17:00 +0000 (+0200) Subject: Remove the query LIMIT and OFFSET from the attachment export X-Git-Tag: 5.5.7~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58836d6654bf500bfeaac1ea819fee9e41b19019;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.exporter.git Remove the query LIMIT and OFFSET from the attachment export --- diff --git a/files/lib/system/exporter/IPB3xExporter.class.php b/files/lib/system/exporter/IPB3xExporter.class.php index a531c35..f6c81aa 100644 --- a/files/lib/system/exporter/IPB3xExporter.class.php +++ b/files/lib/system/exporter/IPB3xExporter.class.php @@ -1193,7 +1193,7 @@ class IPB3xExporter extends AbstractExporter WHERE attach_rel_module = ? AND attach_rel_id > ? AND attach_id BETWEEN ? AND ?"; - $statement = $this->database->prepareStatement($sql, $limit, $offset); + $statement = $this->database->prepareStatement($sql); $statement->execute([ $type, 0,