Skip to content

Commit

Permalink
Merge pull request #13079 from seamuslee001/lab_core_372
Browse files Browse the repository at this point in the history
dev/core#372 Remove notice on activity update due to trying to proces…
  • Loading branch information
eileenmcnaughton authored Nov 11, 2018
2 parents 44e48ae + 40e6797 commit e2669e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/Activity/Form/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ public function preProcess() {

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')
Expand Down

0 comments on commit e2669e8

Please sign in to comment.