Commit f5727fac authored by Monish Deb's avatar Monish Deb

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

parent c08e3ee3
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment