summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Mountney <dmountney@perforce.com>2016-01-13 17:01:05 -0800
committerDJ Mountney <dmountney@perforce.com>2016-01-13 17:01:05 -0800
commitd11ca78cdcd761f7f9b6388474765ede51011085 (patch)
tree2fb7d26646df532403774ce4d37bdb2f45283717
parent0e344aa2299d2f6911282de5d4808c70d658d372 (diff)
downloadgitlab-ce-d11ca78cdcd761f7f9b6388474765ede51011085.tar.gz
Fix the undefinded variable error in Project's safe_import_url method
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 31990485f7d..7e131151513 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -397,7 +397,7 @@ class Project < ActiveRecord::Base
result.password = '*****' unless result.password.nil?
result.to_s
rescue
- original_url
+ self.import_url
end
def check_limit