if ($cid) {
$this->_contactIds = explode(',', $cid);
}
+ // The default in CRM_Core_Form_Task is null, but changing it there gives
+ // errors later.
+ if (is_null($this->_contactIds)) {
+ $this->_contactIds = [];
+ }
if (count($this->_contactIds) > 1) {
$this->_single = FALSE;
}
$_REQUEST[$param] = $value;
}
+ require_once 'HTML/QuickForm.php';
+ $form = new HTML_QuickForm();
+ $form->registerRule('maxfilesize', 'callback', '_ruleCheckMaxFileSize', 'HTML_QuickForm_file');
+
$item = CRM_Core_Invoke::getItem([$_GET['q']]);
ob_start();
CRM_Core_Invoke::runItem($item);
'Fulltext search' => [
'civicrm/contact/search/custom?csid=15&reset=1',
],
+ 'New Email' => [
+ 'civicrm/activity/email/add?atype=3&action=add&reset=1&context=standalone',
+ ],
];
}