Commit e2669e84 authored by eileen's avatar eileen 🎱 Committed by GitHub

Merge pull request #13079 from seamuslee001/lab_core_372

#372 Remove notice on activity update due to trying to proces…
parents 44e48aea 40e67970
......@@ -523,7 +523,9 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
if ($this->_action & CRM_Core_Action::UPDATE) {
// We filter out alternatives, in case this is a stored e-mail, before sending to front-end
$this->_values['details'] = CRM_Utils_String::stripAlternatives($this->_values['details']) ?: '';
if (isset($this->_values['details'])) {
$this->_values['details'] = CRM_Utils_String::stripAlternatives($this->_values['details']) ?: '';
}
if ($this->_activityTypeName === 'Inbound Email' &&
!CRM_Core_Permission::check('edit inbound email basic information and content')
......
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