From efa93e218aa1a26119b07d751f7f9732294346a6 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sat, 11 Feb 2017 16:19:05 +0100 Subject: [PATCH] Setup/Items * fixed an sql error by forgotten var --- setup/tools/sqlgen/items.func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/tools/sqlgen/items.func.php b/setup/tools/sqlgen/items.func.php index 27cfaf56..3c7df8f3 100644 --- a/setup/tools/sqlgen/items.func.php +++ b/setup/tools/sqlgen/items.func.php @@ -125,7 +125,7 @@ function items(array $ids = []) ?d'; $lastMax = 0; - while ($items = DB::World()->select($baseQuery, $lastMax, $ids ?: DBSIMPLE_SKIP, $offset, SqlGen::$stepSize)) + while ($items = DB::World()->select($baseQuery, $lastMax, $ids ?: DBSIMPLE_SKIP, SqlGen::$stepSize)) { $newMax = max(array_column($items, 'entry'));