Skip to content

Commit 220fca6

Browse files
committed
- fix code so tests pass
1 parent 35da234 commit 220fca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FieldConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function get_graphql_field_config():?array {
186186

187187
// if the field is explicitly set to not show in graphql, leave it out of the schema
188188
// if the field is explicitly set to not show in graphql, leave it out of the schema
189-
if ( isset( $this->acf_field['show_in_graphql'] ) && false === $this->acf_field['show_in_graphql'] ) {
189+
if ( isset( $this->acf_field['show_in_graphql'] ) && false === (bool) $this->acf_field['show_in_graphql'] ) {
190190
return null;
191191
}
192192

0 commit comments

Comments
 (0)