Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
HCSVLAB-1120: fix redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunmuscat committed Nov 16, 2015
1 parent c452360 commit 56cc715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/collections_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def web_create_collection
@collection_abstract = params[:collection_abstract]
@licence_id = params[:licence_id]
@additional_metadata = []
unless params[:additional_key].nil? || params[:additional_key].nil?
unless params[:additional_key].nil? || params[:additional_value].nil?
@additional_metadata = params[:additional_key].zip(params[:additional_value])
end
if request.post?
Expand Down

0 comments on commit 56cc715

Please sign in to comment.