From cd6bc614235c11aad3f4d077951bb720e2cc7441 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Sat, 5 May 2018 14:02:23 +0900 Subject: [PATCH] =?UTF-8?q?=E9=80=9F=E5=BA=A6=E6=94=B9=E5=96=84=E3=81=AE?= =?UTF-8?q?=E3=81=9F=E3=82=81=E3=81=AE=E4=BF=AE=E6=AD=A3=20=E3=83=BB?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E3=81=97=E3=81=AA=E3=81=84=E3=82=AB=E3=83=A9?= =?UTF-8?q?=E3=83=A0=E3=81=AF=E5=8F=96=E5=BE=97=E3=81=97=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/UserRoleSetting.php | 3 +++ 1 file changed, 3 insertions(+) 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, )