Commit d111eba7 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix AtLeastOneAmong rule

parent c3d98e32
......@@ -260,7 +260,7 @@ class AtLeastOneAmong(LinkRule):
if self.parameter_value is None or not self.parameter_value:
has_one = False
for grp_param in self.targets_args:
if not getattr(self.wf_instance, grp_param).is_None:
if grp_param in self.user_args and self.user_args[grp_param]:
has_one = True
if not has_one:
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