Permalink
Browse files

Extra fix for #384 conditions was not working correctly

  • Loading branch information...
mddejong committed Nov 27, 2018
1 parent 1c0a6a3 commit 7bae38c964d5aa92c53a0045a31c1dd4d060cf36
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/Gems/Condition/Comparator/Contains.php
@@ -57,7 +57,7 @@ public function getNumParams()
public function isValid($value)
{
foreach ((array) $value as $val) {
if (\MUtil_String::contains($this->_options[0], $val)) {
if (\MUtil_String::contains($val, $this->_options[0])) {
return true;
}
}

0 comments on commit 7bae38c

Please sign in to comment.