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

restore code lost on rebase, re #3278, fixes #4735

Closes #4735

Merge request studip/studip!3532
parent 40525056
No related branches found
No related tags found
No related merge requests found
...@@ -1758,9 +1758,9 @@ class Course_TimesroomsController extends AuthenticatedController ...@@ -1758,9 +1758,9 @@ class Course_TimesroomsController extends AuthenticatedController
/** /**
* Restores a previously stored request from trails' flash object * Restores a previously stored request from trails' flash object
*/ */
private function restoreRequest(array $fields) private function restoreRequest(array $fields, $request = null)
{ {
$request = $this->flash['request']; $request = $this->flash['request'] ?? $request;
if ($request) { if ($request) {
foreach ($fields as $field) { foreach ($fields as $field) {
......
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