Unverified Commit 426d17e4 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub

Merge pull request #16897 from eileenmcnaughton/actt2

[REF] Remove & from before variable
parents 24267f41 92eacb41
......@@ -227,6 +227,8 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
/**
* Build the form object.
*
* @throws \CRM_Core_Exception
*/
public function preProcess() {
CRM_Core_Form_RecurringEntity::preProcess('civicrm_activity');
......@@ -629,7 +631,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
// Enable form element (ActivityLinks sets this true).
$this->assign('suppressForm', FALSE);
$element = &$this->add('select', 'activity_type_id', ts('Activity Type'),
$element = $this->add('select', 'activity_type_id', ts('Activity Type'),
['' => '- ' . ts('select') . ' -'] + $this->_fields['followup_activity_type_id']['attributes'],
FALSE, [
'onchange' => "CRM.buildCustomData( 'Activity', this.value, false, false, false, false, false, false, {$this->_currentlyViewedContactId});",
......
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