[#369] fix cloning a build list
This commit is contained in:
parent
719680f4f2
commit
2ca7c72c89
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue