if (CRM_Utils_Array::value('template_id', $params)) {
CRM_Event_BAO_Event::copy($params['template_id'], $event, TRUE);
}
-
+
$this->set('id', $event->id);
if ($this->_action & CRM_Core_Action::ADD) {
return ts('Event Information and Settings');
}
- /* Retrieve event template custom data values
+ /* Retrieve event template custom data values
* and set as default values for current new event.
*
* @params int $tempId event template id.