Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Controller/RoomAddController.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ public function basic() {
//他言語が入力されていない場合、Currentの言語データをセット
$this->SwitchLanguage->setM17nRequestValue();

$defaultParticipation = $this->request->data['Room']['default_participation'] ?? null;
if ($this->Session->read('RoomAdd.Room.default_participation') !== $defaultParticipation) {
$this->Session->delete('RoomsRolesUsers');
}

//登録処理
$this->request->data['Room']['in_draft'] = true;
$room = $this->Room->saveRoom($this->request->data);
Expand Down