Update Copywrite year to be 2019
[civicrm-core.git] / CRM / Admin / Form / PaymentProcessor.php
index 32706c6109516be168abc7c9111ad03075299ac4..ecac6332abafd50fc5870705cc807a518d7d5f7d 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  */
 
 /**
@@ -327,6 +327,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
       if ($this->_paymentProcessorType) {
         $defaults['payment_processor_type_id'] = $this->_paymentProcessorType;
       }
+      $defaults['financial_account_id'] = CRM_Financial_BAO_PaymentProcessor::getDefaultFinancialAccountID();
       return $defaults;
     }
     $domainID = CRM_Core_Config::domainID();