diff --git a/app/controllers/course/room_requests.php b/app/controllers/course/room_requests.php index ab802b73b69fdd8506bdeb2efdf6cc4b3506888b..14c0179b08f257dc7414e49661b083c8ebec385d 100644 --- a/app/controllers/course/room_requests.php +++ b/app/controllers/course/room_requests.php @@ -630,7 +630,9 @@ class Course_RoomRequestsController extends AuthenticatedController //Store the properties: 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