From d3b820279eb32fe5f3c7cf0e554ffc5613d36523 Mon Sep 17 00:00:00 2001 From: Arjen Smit Date: Mon, 12 Dec 2022 13:45:20 +0100 Subject: [PATCH] $this->datetimes_for_event should not be filled with array $datetimes_for_event should be filled with a DatetimesForEventCheckIn but the method datetimes_ordered() returns an array. --- .../registrations/EE_Event_Registrations_List_Table.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caffeinated/admin/extend/registrations/EE_Event_Registrations_List_Table.class.php b/caffeinated/admin/extend/registrations/EE_Event_Registrations_List_Table.class.php index 04a2cb14e72..2f7e02b22ce 100644 --- a/caffeinated/admin/extend/registrations/EE_Event_Registrations_List_Table.class.php +++ b/caffeinated/admin/extend/registrations/EE_Event_Registrations_List_Table.class.php @@ -199,7 +199,7 @@ protected function _set_properties() $this->_hidden_columns = []; $this->event = EEM_Event::instance()->get_one_by_ID($this->event_id); if ($this->event instanceof EE_Event) { - $this->datetimes_for_event = $this->event->datetimes_ordered(); + $this->datetimes_for_event = DatetimesForEventCheckIn::fromEvent($this->event); } }