Skip to content

Commit

Permalink
42567: Clicking on the title of some specific Booking Tools provokes …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
alex40724 committed Nov 11, 2024
1 parent cde2ce4 commit 3240a1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 3240a1a

Please sign in to comment.