Skip to content

Commit 55ee2d3

Browse files
authored
gw-conditional-logic-operator-is-in.php: Fixed PHP8 warnings for GW Conditional Logic Operator Is In.
1 parent 5f42e9b commit 55ee2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravity-forms/gw-conditional-logic-operator-is-in.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function whitelist_operator( $is_valid, $operator ) {
149149

150150
public function evaluate_operator( $is_match, $field_value, $target_value, $operation, $source_field, $rule ) {
151151

152-
if ( $rule['operator'] !== 'is_in' || $rule['gwcloinEvaluatingOperator'] ) {
152+
if ( $rule['operator'] !== 'is_in' || rgar( $rule, 'gwcloinEvaluatingOperator' ) ) {
153153
return $is_match;
154154
}
155155

0 commit comments

Comments
 (0)