mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge remote-tracking branch 'remotes/origin/fix_selected_options_by_default'
This commit is contained in:
@@ -908,9 +908,9 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
if ( $field_value && $this->editing == true && is_array( $field_value ) && ( in_array( $value, $field_value ) || in_array( html_entity_decode( $value ), $field_value ) ) ) {
|
||||
return true;
|
||||
}
|
||||
if ( $field_value == 0 && $this->editing == true && ! is_array( $field_value ) && $field_value == $value ) {
|
||||
return true;
|
||||
}
|
||||
// if ( $field_value == 0 && $this->editing == true && ! is_array( $field_value ) && $field_value == $value ) {
|
||||
// return true;
|
||||
// }
|
||||
if ( $field_value && $this->editing == true && ! is_array( $field_value ) && $field_value == $value ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user