Skip to content

Commit

Permalink
Event Cart: Fix PHP 7.2 fatal error (pass by ref).
Browse files Browse the repository at this point in the history
  • Loading branch information
mlutfy committed Apr 2, 2019
1 parent 46e0ade commit 42a6cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Event/Cart/Form/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function find_or_create_contact($registeringContactID = NULL, $fie
$no_fields = array();
$contact_id = CRM_Contact_BAO_Contact::createProfileContact($contact_params, $no_fields, NULL);
if (!$contact_id) {
CRM_Core_Error::displaySessionError("Could not create or match a contact with that email address. Please contact the webmaster.");
CRM_Core_Session::setStatus(ts("Could not create or match a contact with that email address. Please contact the webmaster."), '', 'fail');
}
return $contact_id;
}
Expand Down

0 comments on commit 42a6cf5

Please sign in to comment.