$this->redirectToListing();
}
-
// when user come from search context.
$this->_searchBasedMailing = CRM_Contact_Form_Search::isSearchContext($this->get('context'));
$this->addRadio('approval_status_id', ts('Approval Status'), $mailApprovalStatus, TRUE, NULL, TRUE);
$buttons = array(
- array('type' => 'next',
+ array(
+ 'type' => 'next',
'name' => ts('Save'),
'spacing' => ' ',
'isDefault' => TRUE,
CRM_Mailing_BAO_Mailing::create($params, $ids);
-
//when user perform mailing from search context
//redirect it to search result CRM-3711
$ssID = $this->get('ssID');
$session = CRM_Core_Session::singleton();
$session->pushUserContext(CRM_Utils_System::url('civicrm/mailing/browse/scheduled',
- 'reset=1&scheduled=true'
- ));
+ 'reset=1&scheduled=true'
+ ));
}
/**