Skip to content

Commit

Permalink
Merge pull request #9753 from chanunc/master
Browse files Browse the repository at this point in the history
Fix against PHP warning; Notice: Array to string conversion
  • Loading branch information
monishdeb authored Feb 1, 2017
2 parents 1d8b699 + 94e0152 commit 066122b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/ContributionBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public function buildCustom($id, $name, $viewOnly = FALSE, $profileContactType =

//remove common fields only if profile is not configured for onbehalf/honor
if (!in_array($profileContactType, array('honor', 'onbehalf'))) {
$fields = array_diff_assoc($fields, $this->_fields);
$fields = array_diff_key($fields, $this->_fields);
}

CRM_Core_BAO_Address::checkContactSharedAddressFields($fields, $contactID);
Expand Down

0 comments on commit 066122b

Please sign in to comment.