From d4d43f3be151c30dfc395555baddeb1fd97898a5 Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Tue, 25 Oct 2011 19:17:06 +0400 Subject: [PATCH] [refs #2109] Change XML-RPC call for build list --- app/models/build_list.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/build_list.rb b/app/models/build_list.rb index 744740144..c09315f44 100644 --- a/app/models/build_list.rb +++ b/app/models/build_list.rb @@ -125,7 +125,7 @@ class BuildList < ActiveRecord::Base def place_build #XML-RPC params: project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web - self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, bpl.unixname, update_type, build_requires, id + self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, (pl_id == bpl_id ? '' : bpl.unixname), update_type, build_requires, id self.status = BUILD_PENDING if self.status == 0 save end