Setup/Items

* fixed an sql error by forgotten var
This commit is contained in:
Sarjuuk
2017-02-11 16:19:05 +01:00
parent ca0e57b99c
commit efa93e218a

View File

@@ -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'));