Skip to content
Snippets Groups Projects
Commit 12940942 authored by André Noack's avatar André Noack
Browse files

Resolve #3057 "Raumsuche, Semesterbelegungsplan: "zukünftige Einzeltermine"...

Resolve #3057 "Raumsuche, Semesterbelegungsplan: "zukünftige Einzeltermine" auswählen ist nur für Rechteinhaber möglich"

Closes #3057

Merge request studip/studip!2558
parent 7c1df847
No related branches found
No related tags found
No related merge requests found
......@@ -569,10 +569,10 @@ class Resources_RoomPlanningController extends AuthenticatedController
if ($this->resource->userHasPermission($this->user, 'admin')) {
$this->booking_types[] = ResourceBooking::TYPE_PLANNED;
}
if ($this->user_has_booking_permissions) {
URLHelper::addLinkParam('display_single_bookings', Request::get("display_single_bookings"));
$this->display_single_bookings = Request::get("display_single_bookings");
}
URLHelper::addLinkParam('display_single_bookings', Request::get("display_single_bookings"));
$this->display_single_bookings = Request::get("display_single_bookings");
if (!$this->user_has_booking_permissions && $this->display_all_requests) {
throw new AccessDeniedException(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment