Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
MYSQL_VERSION: ${{ matrix.mysql }}
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: cakephp_test
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2
Expand Down
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
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.5
3.3.6