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,7 +630,9 @@ class Course_RoomRequestsController extends AuthenticatedController ...@@ -630,7 +630,9 @@ class Course_RoomRequestsController extends AuthenticatedController
//Store the properties: //Store the properties:
foreach ($_SESSION[$request_id]['selected_properties'] as $name => $state) { foreach ($_SESSION[$request_id]['selected_properties'] as $name => $state) {
$this->request->setProperty($name, $state); if (!empty($state)) {
$this->request->setProperty($name, $state);
}
} }
// once stored, we can delete the session data for this request // once stored, we can delete the session data for this request
......
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