diff --git a/core/um-short-functions.php b/core/um-short-functions.php index b94b03ea..78cce081 100644 --- a/core/um-short-functions.php +++ b/core/um-short-functions.php @@ -340,14 +340,14 @@ } break; case 'greater than': - if ( $field <= $val ){ + if ( $field > $val ){ $state = 1; }else{ $state = 0; } break; case 'less than': - if ( $field >= $val ){ + if ( $field < $val ){ $state = 1; }else{ $state = 0;