Commit afb92e63 authored by jaapjansma's avatar jaapjansma

update removed typo

parent 72bf3ed5
...@@ -34,7 +34,7 @@ class CRM_WebformCivirules_Condition_WebformIs extends CRM_Civirules_Condition { ...@@ -34,7 +34,7 @@ class CRM_WebformCivirules_Condition_WebformIs extends CRM_Civirules_Condition {
if (!$triggerData instanceof CRM_WebformCivirules_TriggerData) { if (!$triggerData instanceof CRM_WebformCivirules_TriggerData) {
return false; return false;
} }
if ($this->conditionParams['is not one of']) { if ($this->conditionParams['operator'] == 'is not one of') {
if (!in_array($triggerData->getNodeId(), $this->conditionParams['node_ids'])) { if (!in_array($triggerData->getNodeId(), $this->conditionParams['node_ids'])) {
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment