projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e0ade
)
Event Cart: Fix PHP 7.2 fatal error (pass by ref).
author
Mathieu Lutfy
<mathieu@symbiotic.coop>
Mon, 1 Apr 2019 14:39:57 +0000
(10:39 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Tue, 2 Apr 2019 20:55:35 +0000
(16:55 -0400)
CRM/Event/Cart/Form/Cart.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Cart/Form/Cart.php
b/CRM/Event/Cart/Form/Cart.php
index 3f4f23a31930f33dafac689ceb51db0d58afa84c..8b7fc363269be8c86945d6ea31f07ccd8c30e295 100644
(file)
--- a/
CRM/Event/Cart/Form/Cart.php
+++ b/
CRM/Event/Cart/Form/Cart.php
@@
-152,7
+152,7
@@
class CRM_Event_Cart_Form_Cart extends CRM_Core_Form {
$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."), '', 'error'
);
}
return $contact_id;
}