Skip to content

Commit

Permalink
Merge pull request #26 from s-nakajima/master
Browse files Browse the repository at this point in the history
引数を渡すように修正
  • Loading branch information
s-nakajima committed Apr 4, 2017
2 parents 0e86ebe + 45c02e0 commit 148ca49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/PrivateSpace.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function afterUserSave($data = array()) {
'Room' => 'Rooms.Room',
]);

$room = $this->createRoom();
$room = $this->createRoom($data);
$room['RolesRoomsUser']['user_id'] = $data['User']['id'];
$room = $this->Room->saveRoom($room);
if (! $room) {
Expand Down

0 comments on commit 148ca49

Please sign in to comment.