From def009f6ffde7d063873b76711c03c463548c479 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 8 Jan 2015 14:50:52 -0800 Subject: [PATCH] INFRA-132 - s/array (/array(/ --- CRM/Contact/Form/Domain.php | 2 +- CRM/Upgrade/Incremental/php/FourThree.php | 2 +- api/v3/Membership.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/Form/Domain.php b/CRM/Contact/Form/Domain.php index 8e36aa10da..5978859faf 100644 --- a/CRM/Contact/Form/Domain.php +++ b/CRM/Contact/Form/Domain.php @@ -265,7 +265,7 @@ class CRM_Contact_Form_Domain extends CRM_Core_Form { } $params += array('contact_id' => $this->_contactId); - $contactParams = array ( + $contactParams = array( 'sort_name' => $domain->name, 'display_name' => $domain->name, 'legal_name' => $domain->name, diff --git a/CRM/Upgrade/Incremental/php/FourThree.php b/CRM/Upgrade/Incremental/php/FourThree.php index e6f15176bc..f8e2d09d81 100644 --- a/CRM/Upgrade/Incremental/php/FourThree.php +++ b/CRM/Upgrade/Incremental/php/FourThree.php @@ -476,7 +476,7 @@ WHERE name IN ('Donation', 'Event Fee', 'Member Dues') AND is_active =1 if ($daoFetchTypes->N < 3) { $modifiedDefaults = TRUE; - $insertStatments = array ( + $insertStatments = array( 'Donation' => "('Donation', 0, 1, 1)", 'Member' => "('Member Dues', 0, 1, 1)", 'Event Fee' => "('Event Fee', 0, 1, 0)", diff --git a/api/v3/Membership.php b/api/v3/Membership.php index 125d77db8d..a6a29785e6 100644 --- a/api/v3/Membership.php +++ b/api/v3/Membership.php @@ -113,7 +113,7 @@ function civicrm_api3_membership_create($params) { // Fixme: This code belongs in the BAO $action = CRM_Core_Action::ADD; // we need user id during add mode - $ids = array (); + $ids = array(); if (!empty($params['contact_id'])) { $ids['userId'] = $params['contact_id']; } -- 2.25.1