From 7b042fd6f6739112028a1dda213aa8e997572d26 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 24 Feb 2017 12:55:26 +0800 Subject: [PATCH] Fix conditional fields --- core/um-short-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;