diff --git a/core/um-short-functions.php b/core/um-short-functions.php index f1ff638b..129f285b 100644 --- a/core/um-short-functions.php +++ b/core/um-short-functions.php @@ -354,7 +354,7 @@ } break; case 'contains': - if ( !strstr( $field, $val ) ){ + if ( strstr( $field, $val ) ){ $state = 1; }else{ $state = 0; @@ -435,7 +435,7 @@ } break; case 'contains': - if ( !strstr( $field, $val ) ){ + if ( strstr( $field, $val ) ){ $state = 0; }else{ $state = 1;