diff --git a/app/models/project.rb b/app/models/project.rb index f4f0e122d..b5b948a84 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -59,7 +59,7 @@ class Project < ActiveRecord::Base end def xml_rpc_create - result = BuildServer.create_project unixname, platform.unixname, repository.unixname + result = BuildServer.create_project unixname, repository.platform.unixname, repository.unixname if result == BuildServer::SUCCESS return true else