diff --git a/Model/UserRoleSetting.php b/Model/UserRoleSetting.php index d4d9d68..970fbd7 100644 --- a/Model/UserRoleSetting.php +++ b/Model/UserRoleSetting.php @@ -88,6 +88,9 @@ public function getUserRoleSetting($pluginType, $roleKey) { //UserRoleSettingデータ取得 $userRoleSetting = $this->find('first', array( 'recursive' => -1, + 'fields' => [ + 'id', 'role_key', 'origin_role_key', 'use_private_room', 'is_site_plugins' + ], 'conditions' => array( 'role_key' => $roleKey, )