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:
parent
eb040310c3
commit
ddbc20f635
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue