Commit 66c7f5cb authored by James Lopez's avatar James Lopez
Browse files

fix empty import URL errors

parent 20b94172be40
......@@ -494,7 +494,7 @@ def import_url=(value)
end
def import_url
if import_data && super
if import_data && super.present?
import_url = Gitlab::UrlSanitizer.new(super, credentials: import_data.credentials)
import_url.full_url
else
......
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