[#369] fix cloning a build list

This commit is contained in:
Alexander Machehin 2015-02-04 20:14:10 +05:00
parent 719680f4f2
commit 2ca7c72c89
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ module BuildListsHelper
end end
def include_repos(params) def include_repos(params)
@include_repos ||= params.try(:[], :build_list).try(:[], :include_repos) || [] @include_repos ||= (params.try(:[], :build_list).try(:[], :include_repos) || []).map {|e| e.to_s}
end end
def save_to_repository_id(params) def save_to_repository_id(params)