From: Alexander Ebert Date: Mon, 19 Dec 2011 12:25:08 +0000 (+0100) Subject: Replaced raw number with sqlLimit reference X-Git-Tag: 2.0.0_Beta_1~1508 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a68d130c9a3a360f2d2744110858f9698d848e88;p=GitHub%2FWoltLab%2FWCF.git Replaced raw number with sqlLimit reference --- diff --git a/wcfsetup/install/files/lib/data/package/PackageAction.class.php b/wcfsetup/install/files/lib/data/package/PackageAction.class.php index 284e788ad1..ffebd224fe 100644 --- a/wcfsetup/install/files/lib/data/package/PackageAction.class.php +++ b/wcfsetup/install/files/lib/data/package/PackageAction.class.php @@ -47,7 +47,7 @@ class PackageAction extends AbstractDatabaseObjectAction { public function getPluginList() { $pluginList = Package::getPluginList(); $pluginList->sqlLimit = 20; - $pluginList->sqlOffset = (($this->parameters['activePage'] - 1) * 20); + $pluginList->sqlOffset = (($this->parameters['activePage'] - 1) * $pluginList->sqlLimit); $pluginList->readObjects(); WCF::getTPL()->assign(array(