Skip to content
Snippets Groups Projects
Commit 3d1f58d1 authored by Moritz Strohm's avatar Moritz Strohm Committed by Jan-Hendrik Willms
Browse files

fixed code error, closes #1545

Merge request studip/studip!963
parent b5445221
No related branches found
No related tags found
No related merge requests found
...@@ -304,7 +304,7 @@ class Resources_RoomPlanningController extends AuthenticatedController ...@@ -304,7 +304,7 @@ class Resources_RoomPlanningController extends AuthenticatedController
'javascript:void(window.print());', 'javascript:void(window.print());',
Icon::create('print') Icon::create('print')
); );
if ($this->resource->userHasPermission($this->user)) { if ($this->resource->userHasPermission($current_user)) {
if ($this->resource instanceof Room) { if ($this->resource instanceof Room) {
$actions->addLink( $actions->addLink(
_('Individuelle Druckansicht'), _('Individuelle Druckansicht'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment