mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- code formatting;
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user