1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-03-14 11:09:31 +00:00

no return empty result

This commit is contained in:
nishiki 2015-03-22 22:38:35 +01:00
parent eb040310c3
commit ddbc20f635

View file

@ -131,6 +131,8 @@ module MPW
protocol = options[:protocol].to_s.downcase
@data.each do |item|
next if item.empty?
next if not group.empty? and not group.eql?(item.group.downcase)
next if not protocol.empty? and not protocol.eql?(item.protocol.downcase)