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 2078ed2 commit c24c6de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,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($this->process_class, 'displayPostInfo')
Expand Down

0 comments on commit c24c6de

Please sign in to comment.