From 8ac54527d70a6bb6b34fb9a0bc2697c7ebe6e64b Mon Sep 17 00:00:00 2001 From: Samuel Vanhove Date: Tue, 16 Jun 2020 15:29:09 -0400 Subject: [PATCH] civilint --- CRM/Core/BAO/Address.php | 5 +++-- tests/phpunit/CRM/Core/BAO/AddressTest.php | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/BAO/Address.php b/CRM/Core/BAO/Address.php index 1b59159cbc..81fc24573c 100644 --- a/CRM/Core/BAO/Address.php +++ b/CRM/Core/BAO/Address.php @@ -163,8 +163,9 @@ class CRM_Core_BAO_Address extends CRM_Core_DAO_Address { $fieldsFix = [ 'replace' => $params, ]; - $address = CRM_Core_DAO::copyGeneric('CRM_Core_DAO_Address', [ - 'id' => $params['master_id']], + $address = CRM_Core_DAO::copyGeneric( + 'CRM_Core_DAO_Address', + ['id' => $params['master_id']], NULL, $fieldsFix ); diff --git a/tests/phpunit/CRM/Core/BAO/AddressTest.php b/tests/phpunit/CRM/Core/BAO/AddressTest.php index d6793ac99d..67a87f4f93 100644 --- a/tests/phpunit/CRM/Core/BAO/AddressTest.php +++ b/tests/phpunit/CRM/Core/BAO/AddressTest.php @@ -653,5 +653,4 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase { } - } -- 2.25.1