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 02:07:00 +0000 (14:07 +1200)
CRM/Financial/BAO/PaymentProcessor.php

index f8ec81f0659796a799fda39845d2ceb992e8ec1f..4bbc650c21816cf789944941d16c338603bb2158 100644 (file)
@@ -313,6 +313,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,
     );