Skip to content
Snippets Groups Projects
Commit f5727fac authored by Monish Deb's avatar Monish Deb
Browse files

#11: Email - send now error screen should display earlier

parent c08e3ee3
Branches 5.81
Tags 5.81.2
No related merge requests found
......@@ -131,7 +131,6 @@ class CRM_Contact_Form_Task_Email extends CRM_Contact_Form_Task {
if (!$cid && $this->_context != 'standalone') {
parent::preProcess();
}
CRM_Contact_Form_Task_EmailCommon::bounceIfSimpleMailLimitExceeded(count($this->_contactIds));
$this->assign('single', $this->_single);
if (CRM_Core_Permission::check('administer CiviCRM')) {
......
......@@ -124,6 +124,7 @@ class CRM_Contact_Form_Task_EmailCommon {
if (count($form->_contactIds) > 1) {
$form->_single = FALSE;
}
CRM_Contact_Form_Task_EmailCommon::bounceIfSimpleMailLimitExceeded(count($form->_contactIds));
$emailAttributes = array(
'class' => 'huge',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment