Commit 116f5f26 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix statement

parent 0fcf6e10
...@@ -80,7 +80,7 @@ class IssuableBaseService < BaseService ...@@ -80,7 +80,7 @@ class IssuableBaseService < BaseService
def filter_labels_by_name(keys) def filter_labels_by_name(keys)
keys.each do |key| keys.each do |key|
return if params[key].to_a.empty? next if params[key].to_a.empty?
params[key] = project.labels.where(id: params[key]).pluck(:id) params[key] = project.labels.where(id: params[key]).pluck(:id)
end end
......
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