enotice fix
authoreileenmcnaughton <eileen@fuzion.co.nz>
Mon, 29 Jun 2015 21:39:19 +0000 (21:39 +0000)
committereileenmcnaughton <eileen@fuzion.co.nz>
Mon, 29 Jun 2015 21:39:19 +0000 (21:39 +0000)
CRM/Financial/BAO/PaymentProcessor.php

index 169aab7bc1292d992b9951568b507fbd620018ae..fbade7839e5cc6329275d935b08657b159dd673d 100644 (file)
@@ -331,7 +331,7 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
       foreach ($fieldsToProvide as $field) {
         // Prevent e-notices in processor classes when not configured.
         if (!isset($processor[$field])) {
-          $processor[$field] = NULL;
+          $processors['values'][$processor['id']][$field] = NULL;
         }
       }
       $processors['values'][$processor['id']]['payment_processor_type'] = $processor['payment_processor_type'] = $processors['values'][$processor['id']]['api.payment_processor_type.getsingle']['name'];