{"action":"created","comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments/39701299","id":39701299,"diff_hunk":"@@ -432,12 +432,14 @@ public function assignProcessors() {\n       }\n       $this->_processors = array();\n       foreach ($this->_paymentProcessors as $id => $processor) {\n-        $this->_processors[$id] = ts($processor['name']);\n-        if (!empty($processor['description'])) {\n-          $this->_processors[$id] .= ' : ' . ts($processor['description']);\n-        }\n-        if ($processor['is_recur']) {\n-          $this->_recurPaymentProcessors[$id] = $this->_processors[$id];\n+        if ($processor['is_test'] == ($this->_mode == 'test')) {","path":"CRM/Contribute/Form/AbstractEditPayment.php","position":10,"original_position":10,"commit_id":"bc8526fa7b995d6de7e43e1f845f62752f26fe3a","original_commit_id":"bc8526fa7b995d6de7e43e1f845f62752f26fe3a","user":{"login":"colemanw","id":2874912,"avatar_url":"https://avatars.githubusercontent.com/u/2874912?v=3","gravatar_id":"","url":"https://api.github.com/users/colemanw","html_url":"https://github.com/colemanw","followers_url":"https://api.github.com/users/colemanw/followers","following_url":"https://api.github.com/users/colemanw/following{/other_user}","gists_url":"https://api.github.com/users/colemanw/gists{/gist_id}","starred_url":"https://api.github.com/users/colemanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemanw/subscriptions","organizations_url":"https://api.github.com/users/colemanw/orgs","repos_url":"https://api.github.com/users/colemanw/repos","events_url":"https://api.github.com/users/colemanw/events{/privacy}","received_events_url":"https://api.github.com/users/colemanw/received_events","type":"User","site_admin":false},"body":"So in that case the patch is good as-is?","created_at":"2015-09-17T00:29:36Z","updated_at":"2015-09-17T00:29:36Z","html_url":"https://github.com/civicrm/civicrm-core/pull/6754#discussion_r39701299","pull_request_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754","_links":{"self":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments/39701299"},"html":{"href":"https://github.com/civicrm/civicrm-core/pull/6754#discussion_r39701299"},"pull_request":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754"}}},"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754","id":45122974,"html_url":"https://github.com/civicrm/civicrm-core/pull/6754","diff_url":"https://github.com/civicrm/civicrm-core/pull/6754.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/6754.patch","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6754","number":6754,"state":"closed","locked":false,"title":"CRM-16555 - Fix double-processors on backend credit card event form","user":{"login":"colemanw","id":2874912,"avatar_url":"https://avatars.githubusercontent.com/u/2874912?v=3","gravatar_id":"","url":"https://api.github.com/users/colemanw","html_url":"https://github.com/colemanw","followers_url":"https://api.github.com/users/colemanw/followers","following_url":"https://api.github.com/users/colemanw/following{/other_user}","gists_url":"https://api.github.com/users/colemanw/gists{/gist_id}","starred_url":"https://api.github.com/users/colemanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemanw/subscriptions","organizations_url":"https://api.github.com/users/colemanw/orgs","repos_url":"https://api.github.com/users/colemanw/repos","events_url":"https://api.github.com/users/colemanw/events{/privacy}","received_events_url":"https://api.github.com/users/colemanw/received_events","type":"User","site_admin":false},"body":"* [CRM-16555: Make Payment form credit \\/ debit card changing available to backoffice](https://issues.civicrm.org/jira/browse/CRM-16555)","created_at":"2015-09-16T01:49:35Z","updated_at":"2015-09-17T00:29:36Z","closed_at":"2015-09-16T12:44:55Z","merged_at":"2015-09-16T12:44:55Z","merge_commit_sha":"3f6287be59b65a812f4783b9367efb5d4f906772","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754/commits","review_comments_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754/comments","review_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6754/comments","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/bc8526fa7b995d6de7e43e1f845f62752f26fe3a","head":{"label":"colemanw:CRM-16555","ref":"CRM-16555","sha":"bc8526fa7b995d6de7e43e1f845f62752f26fe3a","user":{"login":"colemanw","id":2874912,"avatar_url":"https://avatars.githubusercontent.com/u/2874912?v=3","gravatar_id":"","url":"https://api.github.com/users/colemanw","html_url":"https://github.com/colemanw","followers_url":"https://api.github.com/users/colemanw/followers","following_url":"https://api.github.com/users/colemanw/following{/other_user}","gists_url":"https://api.github.com/users/colemanw/gists{/gist_id}","starred_url":"https://api.github.com/users/colemanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemanw/subscriptions","organizations_url":"https://api.github.com/users/colemanw/orgs","repos_url":"https://api.github.com/users/colemanw/repos","events_url":"https://api.github.com/users/colemanw/events{/privacy}","received_events_url":"https://api.github.com/users/colemanw/received_events","type":"User","site_admin":false},"repo":{"id":8513618,"name":"civicrm-core","full_name":"colemanw/civicrm-core","owner":{"login":"colemanw","id":2874912,"avatar_url":"https://avatars.githubusercontent.com/u/2874912?v=3","gravatar_id":"","url":"https://api.github.com/users/colemanw","html_url":"https://github.com/colemanw","followers_url":"https://api.github.com/users/colemanw/followers","following_url":"https://api.github.com/users/colemanw/following{/other_user}","gists_url":"https://api.github.com/users/colemanw/gists{/gist_id}","starred_url":"https://api.github.com/users/colemanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemanw/subscriptions","organizations_url":"https://api.github.com/users/colemanw/orgs","repos_url":"https://api.github.com/users/colemanw/repos","events_url":"https://api.github.com/users/colemanw/events{/privacy}","received_events_url":"https://api.github.com/users/colemanw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colemanw/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/colemanw/civicrm-core","forks_url":"https://api.github.com/repos/colemanw/civicrm-core/forks","keys_url":"https://api.github.com/repos/colemanw/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colemanw/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colemanw/civicrm-core/teams","hooks_url":"https://api.github.com/repos/colemanw/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/colemanw/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/colemanw/civicrm-core/events","assignees_url":"https://api.github.com/repos/colemanw/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/colemanw/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/colemanw/civicrm-core/tags","blobs_url":"https://api.github.com/repos/colemanw/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colemanw/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colemanw/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/colemanw/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colemanw/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/colemanw/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/colemanw/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/colemanw/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/colemanw/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/colemanw/civicrm-core/subscription","commits_url":"https://api.github.com/repos/colemanw/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/colemanw/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/colemanw/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/colemanw/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/colemanw/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/colemanw/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colemanw/civicrm-core/merges","archive_url":"https://api.github.com/repos/colemanw/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colemanw/civicrm-core/downloads","issues_url":"https://api.github.com/repos/colemanw/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/colemanw/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/colemanw/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/colemanw/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colemanw/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/colemanw/civicrm-core/releases{/id}","created_at":"2013-03-02T01:06:53Z","updated_at":"2015-03-27T01:09:41Z","pushed_at":"2015-09-16T16:18:26Z","git_url":"git://github.com/colemanw/civicrm-core.git","ssh_url":"git@github.com:colemanw/civicrm-core.git","clone_url":"https://github.com/colemanw/civicrm-core.git","svn_url":"https://github.com/colemanw/civicrm-core","homepage":null,"size":101928,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"civicrm:master","ref":"master","sha":"77c081c2027b131f6f9043a24d9e33bad8c97bd2","user":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"repo":{"id":8495499,"name":"civicrm-core","full_name":"civicrm/civicrm-core","owner":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civicrm/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":false,"url":"https://api.github.com/repos/civicrm/civicrm-core","forks_url":"https://api.github.com/repos/civicrm/civicrm-core/forks","keys_url":"https://api.github.com/repos/civicrm/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civicrm/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civicrm/civicrm-core/teams","hooks_url":"https://api.github.com/repos/civicrm/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/civicrm/civicrm-core/events","assignees_url":"https://api.github.com/repos/civicrm/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/civicrm/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/civicrm/civicrm-core/tags","blobs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civicrm/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/civicrm/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/civicrm/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/civicrm/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/civicrm/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/civicrm/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/civicrm/civicrm-core/subscription","commits_url":"https://api.github.com/repos/civicrm/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/civicrm/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/civicrm/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/civicrm/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civicrm/civicrm-core/merges","archive_url":"https://api.github.com/repos/civicrm/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civicrm/civicrm-core/downloads","issues_url":"https://api.github.com/repos/civicrm/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/civicrm/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/civicrm/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/civicrm/civicrm-core/releases{/id}","created_at":"2013-03-01T06:11:56Z","updated_at":"2015-09-02T12:46:58Z","pushed_at":"2015-09-16T23:46:33Z","git_url":"git://github.com/civicrm/civicrm-core.git","ssh_url":"git@github.com:civicrm/civicrm-core.git","clone_url":"https://github.com/civicrm/civicrm-core.git","svn_url":"https://github.com/civicrm/civicrm-core","homepage":null,"size":146479,"stargazers_count":121,"watchers_count":121,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":322,"mirror_url":null,"open_issues_count":107,"forks":322,"open_issues":107,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754"},"html":{"href":"https://github.com/civicrm/civicrm-core/pull/6754"},"issue":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/6754"},"comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/6754/comments"},"review_comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754/comments"},"review_comment":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6754/commits"},"statuses":{"href":"https://api.github.com/repos/civicrm/civicrm-core/statuses/bc8526fa7b995d6de7e43e1f845f62752f26fe3a"}}}}