diff --git a/app/controllers/resources/room_planning.php b/app/controllers/resources/room_planning.php index aad1f55b5539964cbc6d654af6131f0c4dbcb6f2..fb0748debc8e7a44fe8330b603104404fd1b2da0 100644 --- a/app/controllers/resources/room_planning.php +++ b/app/controllers/resources/room_planning.php @@ -304,7 +304,7 @@ class Resources_RoomPlanningController extends AuthenticatedController 'javascript:void(window.print());', Icon::create('print') ); - if ($this->resource->userHasPermission($this->user)) { + if ($this->resource->userHasPermission($current_user)) { if ($this->resource instanceof Room) { $actions->addLink( _('Individuelle Druckansicht'),