diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-04 01:03:53 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-04 01:14:23 +0300 |
commit | 116f5f26ea8e8f824caa89d1cb407b1082e32399 (patch) | |
tree | d182ac20f15d55956cd05142d1ecc5bb36fe094d | |
parent | 0fcf6e109454e3a3ac6b8179ca241bad58975136 (diff) |
Fix statement
-rw-r--r-- | app/services/issuable_base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issuable_base_service.rb b/app/services/issuable_base_service.rb index 969c87a6ed8..fbe9b7d7f16 100644 --- a/app/services/issuable_base_service.rb +++ b/app/services/issuable_base_service.rb @@ -80,7 +80,7 @@ class IssuableBaseService < BaseService def filter_labels_by_name(keys) 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) end |