Skip to content

Commit 8e5d7ee

Browse files
#patch Adding magento event validation
1 parent bb47d74 commit 8e5d7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Oracle/M2/Advanced/ExtensionAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ protected function _validateMessage($dataType, $dataAction, $objectType)
245245
return true;
246246
if($dataType=='order' && $dataAction=='delete' && in_array("order_cancellation",$objectType))
247247
return true;
248-
if($dataType=='contact' && $dataAction=='add' && in_array("customer_account_welcome",$objectType) || in_array("new_account_without_password", $objectType)))
248+
if($dataType=='contact' && $dataAction=='add' && (in_array("customer_account_welcome",$objectType) || in_array("new_account_without_password", $objectType)))
249249
return true;
250250
if($dataType=='cart' && in_array("cart_event",$objectType))
251251
return true;

0 commit comments

Comments
 (0)