| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | $value = $item['value']; |
| 82 | 82 | $rules = $item['rules']; |
| 83 | 83 | |
| 84 | 84 | foreach ( $rules as $rule => $satisfier ) { |
| 85 | - if ( ! in_array( $rule, $this->rules ) ) { | |
| 85 | + if ( ! in_array( $rule, $this->rules, true ) ) { | |
| 86 | 86 | continue; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | if ( ! call_user_func_array( array( $this, $rule ), array( $field, $value, $satisfier ) ) ) { |