CRM-16919 filter payment processor by domain
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 27 Jul 2015 02:07:00 +0000 (14:07 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 27 Jul 2015 04:30:55 +0000 (16:30 +1200)
CRM/Financial/BAO/PaymentProcessor.php

index 83550bdb59c9558e50c8095121137717171feba7..6e1b723ee1311b2dfb5fe0cf3491f16ee2dbae75 100644 (file)
@@ -279,6 +279,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
 
     $retrievalParameters = array(
       'is_active' => TRUE,
+      'domain_id' => CRM_Core_Config::domainID(),
       'options' => array('sort' => 'is_default DESC, name'),
       'api.payment_processor_type.getsingle' => 1,
     );