mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix conditional field with 'contains'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user