projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #16172 from eileenmcnaughton/happy_new_year
[civicrm-core.git]
/
CRM
/
Friend
/
Form.php
diff --git
a/CRM/Friend/Form.php
b/CRM/Friend/Form.php
index ce38a42d3fa5a2bb1474b1e366f2afaa4245ad4b..e1e03c3576b45f410984e429c9a287355b2d46a0 100644
(file)
--- a/
CRM/Friend/Form.php
+++ b/
CRM/Friend/Form.php
@@
-97,7
+97,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
);
if (empty($values['is_tellfriend_enabled'])) {
);
if (empty($values['is_tellfriend_enabled'])) {
- CRM_Core_Error::
fatal
(ts('Tell Friend is disable for this Personal Campaign Page'));
+ CRM_Core_Error::
statusBounce
(ts('Tell Friend is disable for this Personal Campaign Page'));
}
$this->_mailLimit = $values['tellfriend_limit'];
}
$this->_mailLimit = $values['tellfriend_limit'];
@@
-118,7
+118,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
$this->assign('pcpTitle', $this->_title);
}
else {
$this->assign('pcpTitle', $this->_title);
}
else {
- CRM_Core_Error::
fatal
(ts('page argument missing or invalid'));
+ CRM_Core_Error::
statusBounce
(ts('page argument missing or invalid'));
}
$this->assign('context', $pcomponent);
}
$this->assign('context', $pcomponent);