From 3240a1acb3548d578761aff0ed27775e8470e8da Mon Sep 17 00:00:00 2001 From: Alex Killing Date: Mon, 11 Nov 2024 11:08:29 +0100 Subject: [PATCH] 42567: Clicking on the title of some specific Booking Tools provokes error --- .../BookingManager/Objects/class.ilBookingObjectsTableGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/BookingManager/Objects/class.ilBookingObjectsTableGUI.php b/Modules/BookingManager/Objects/class.ilBookingObjectsTableGUI.php index fa546b8ca946..7f8033e9b5f5 100644 --- a/Modules/BookingManager/Objects/class.ilBookingObjectsTableGUI.php +++ b/Modules/BookingManager/Objects/class.ilBookingObjectsTableGUI.php @@ -360,7 +360,7 @@ protected function fillRow(array $a_set): void } if ($has_booking || $this->may_edit) { - if (trim($a_set['post_text']) || $a_set['post_file']) { + if (trim($a_set['post_text'] ?? "") || $a_set['post_file']) { $items[] = $this->ui_factory->button()->shy( $lng->txt('book_post_booking_information'), $ilCtrl->getLinkTargetByClass("ilbookingprocessgui", 'displayPostInfo')