1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 09:14:58 +02:00
This commit is contained in:
Ryan Cramer
2024-01-04 13:27:05 -05:00
parent 2cc3960c68
commit 409c0c0a68

View File

@@ -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;
} }