Skip to content
Snippets Groups Projects
Commit 851597a8 authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Jan-Hendrik Willms
Browse files

correct function name, fixes #3101

Closes #3101

Merge request studip/studip!2161
parent 1fa1d6e6
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ echo $flash['message'];
<? $actionMenu = ActionMenu::get()->setContext($rr->getTypeString()) ?>
<? $actionMenu->addLink(
$controller->url_for('course/room_requests/request_summary/' . $rr->id, ['clear_cache' => 1]),
$controller->url_for('course/room_requests/request_show_summary/' . $rr->id, ['clear_cache' => 1]),
_('Diese Anfrage bearbeiten'),
Icon::create(
'edit',
......
......@@ -225,7 +225,7 @@
(
$request_id
? $controller->url_for(
'course/room_requests/request_summary/' . $request_id
'course/room_requests/request_show_summary/' . $request_id
)
: $controller->url_for(
'course/room_requests/new_request/' . $request_id,
......
......@@ -122,8 +122,8 @@
$edit_url = '';
$edit_url_attributes = [];
if ($GLOBALS['perm']->have_studip_perm('tutor', $request->getRangeId())) {
$edit_url = $controller->link_for(
'course/room_requests/request_summary/' . $request->id,
$edit_url = $controller->url_for(
'course/room_requests/request_show_summary/' . $request->id,
['cid' => $request->getRangeId()]
);
$edit_url_attributes = ['target' => '_blank'];
......
......@@ -400,7 +400,7 @@
<?= \Studip\LinkButton::create(
_('Anfrage bearbeiten'),
URLHelper::getURL(
'dispatch.php/course/room_requests/request_summary/' . $request->id,
'dispatch.php/course/room_requests/request_show_summary/' . $request->id,
['cid' => $request->getRangeId()]
)
) ?>
......
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