diff --git a/app/views/resources/_common/_room_search_result.php b/app/views/resources/_common/_room_search_result.php index c8eae82016a76d0364e1e801e712920f50e8a557..b6ecc896fbfccdd086a74fa1c913c090b091cf7d 100644 --- a/app/views/resources/_common/_room_search_result.php +++ b/app/views/resources/_common/_room_search_result.php @@ -31,7 +31,7 @@ ['target' => '_blank'] ); } else { - if ($room->booking_plan_is_public) { + if ($room->booking_plan_is_public && Config::get()->RESOURCES_SHOW_PUBLIC_ROOM_PLANS) { $actions->addLink( $room->getActionLink('booking_plan'), _('Belegungsplan'),