lib/openwfe/participants/participantmap.rb in openwferu-0.9.11 vs lib/openwfe/participants/participantmap.rb in openwferu-0.9.12
- old
+ new
@@ -132,9 +132,11 @@
#
def lookup_participant (participant_name)
#ldebug { "lookup_participant() '#{participant_name}'" }
+ participant_name = participant_name.to_s
+
@participants.each do |tuple|
return tuple[1] if tuple[0].match(participant_name)
end
nil
end