mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +02:00
Fix issue processwire/processwire-issues#1851
This commit is contained in:
@@ -223,7 +223,7 @@ class SelectableOptionArray extends WireArray {
|
|||||||
foreach($this as $option) {
|
foreach($this as $option) {
|
||||||
/** @var SelectableOption $option */
|
/** @var SelectableOption $option */
|
||||||
$v = $option->getProperty($property);
|
$v = $option->getProperty($property);
|
||||||
if($v !== $value) continue;
|
if("$v" !== "$value") continue;
|
||||||
$match = $option;
|
$match = $option;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user