From a495d43fbb843fd3fa4720a7bd25d3e1caa944cb Mon Sep 17 00:00:00 2001 From: nikitasinelnikov Date: Mon, 5 Apr 2021 13:21:05 +0300 Subject: [PATCH] - code formatting; --- includes/core/class-fields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index cd934b5c..4af16afb 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -1061,7 +1061,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) { // default value with comma if ( is_string( $data['default'] ) && strstr( $data['default'], ',' ) ) { $choices = array_map( 'trim', explode( ',', $data['default'] ) ); - if( in_array( $value, $choices ) ){ + if ( in_array( $value, $choices ) ) { return true; } }