Skip to content
Snippets Groups Projects
Commit cc60c707 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

dont store empty room-request-properties, closes #3947

Closes #3947

Merge request studip/studip!2804
parent 02c08f9d
No related branches found
No related tags found
No related merge requests found
......@@ -630,8 +630,10 @@ class Course_RoomRequestsController extends AuthenticatedController
//Store the properties:
foreach ($_SESSION[$request_id]['selected_properties'] as $name => $state) {
if (!empty($state)) {
$this->request->setProperty($name, $state);
}
}
// once stored, we can delete the session data for this request
$_SESSION[$this->request_id] = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment