Skip to content

Commit b0164dd

Browse files
Fix Boolean Custom Fields
1 parent 4901ed1 commit b0164dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/EvaluationUtils.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ public static function getValueAsString($value): ?string
169169
if (is_array($value)) {
170170
return implode(", ", $value);
171171
}
172+
if (is_bool($value)) {
173+
return $value ? "true" : "false";
174+
}
172175
return $value === null ? null : strval($value);
173176
}
174177

0 commit comments

Comments
 (0)