mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Items
* fixed an sql error by forgotten var
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user