Skip to content
Snippets Groups Projects
Commit 8fd260dc authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

pass current_user to partial, fixes #3385

Closes #3385

Merge request studip/studip!2304
parent c0f574b2
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,10 @@ ...@@ -115,7 +115,10 @@
<? foreach ($room_requests as $room_request): ?> <? foreach ($room_requests as $room_request): ?>
<?= $this->render_partial( <?= $this->render_partial(
'resources/_common/_request_tr', 'resources/_common/_request_tr',
['request' => $room_request] [
'request' => $room_request,
'current_user' => $user
]
)?> )?>
<? endforeach ?> <? endforeach ?>
</tbody> </tbody>
...@@ -124,4 +127,4 @@ ...@@ -124,4 +127,4 @@
<?= MessageBox::info( <?= MessageBox::info(
_('Es liegen keine aktuellen Raumanfragen vor!') _('Es liegen keine aktuellen Raumanfragen vor!')
) ?> ) ?>
<? endif ?> <? endif ?>
\ No newline at end of file
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