mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
ItemFilter/Fixup 16eabb90b6
* fix lost item grouping * fix type selector in filter form * fix item upgrade search
This commit is contained in:
@@ -292,7 +292,7 @@ abstract class Filter
|
||||
{
|
||||
// quirk: in the POST step criteria can be [[''], null, null] if not selected.
|
||||
$buff = [];
|
||||
foreach ($val as $v)
|
||||
foreach ((array)$val as $v) // can be string|int in POST step if only one value present
|
||||
if ($v !== '' && $this->checkInput($type, $valid, $v))
|
||||
$buff[] = $v;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user