X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FParticipant.php;h=98666d186abe8d0a1d8ba762fc1941a0979c4c3c;hb=b11418429c627738ffaa9f2face1d6c68af3bd61;hp=e99eb186dfedc7c78a3ace5d54c52561da92cabb;hpb=9fa8363c73a769710e1006a8793aac3a6004ce38;p=civicrm-core.git diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index e99eb186df..98666d186a 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1892,7 +1892,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment protected function assignEventDetailsToTpl($eventID, $participantRoles, $receiptText, $isPaidEvent) { //use of the message template below requires variables in different format $events = []; - $returnProperties = ['event_type_id', 'fee_label', 'start_date', 'end_date', 'event_tz', 'is_show_location', 'title']; + $returnProperties = ['event_type_id', 'fee_label', 'start_date', 'end_date', 'is_show_location', 'title']; //get all event details. CRM_Core_DAO::commonRetrieveAll('CRM_Event_DAO_Event', 'id', $eventID, $events, $returnProperties); @@ -1900,8 +1900,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment unset($event['start_date']); unset($event['end_date']); - CRM_Event_BAO_Event::setOutputTimeZone($event); - $role = CRM_Event_PseudoConstant::participantRole(); if (is_array($participantRoles)) {