- code formatting;

This commit is contained in:
nikitasinelnikov
2021-04-05 13:21:05 +03:00
parent 68166e51be
commit a495d43fbb
+1 -1
View File
@@ -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;
}
}