mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +02:00
Fix issue processwire/processwire-issues#1675
This commit is contained in:
@@ -1613,7 +1613,7 @@ class WireArray extends Wire implements \IteratorAggregate, \ArrayAccess, \Count
|
||||
}
|
||||
} else {
|
||||
$value = $this->getItemPropertyValue($item, $selector->field);
|
||||
if(is_array($value)) $value = $this->wire()->sanitizer->flatArray($value);
|
||||
$value = is_array($value) ? $this->wire()->sanitizer->flatArray($value) : (string) $value;
|
||||
}
|
||||
if($not === $selector->matches($value) && isset($this->data[$key])) {
|
||||
$qtyMatch++;
|
||||
|
Reference in New Issue
Block a user