File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,14 +120,14 @@ public function read($roomId, $key) {
120120
121121 // * デフォルトロールパーミッションデータのセット
122122 $ permissions = $ this ->CurrentLibPermission ->findDefaultRolePermissions ($ roomRoleKey );
123- foreach ($ permissions as $ key => $ permission ) {
124- $ this ->write ($ roomId , $ key , $ permission ['value ' ]);
123+ foreach ($ permissions as $ perm => $ permission ) {
124+ $ this ->write ($ roomId , $ perm , $ permission ['value ' ]);
125125 }
126126
127127 // * ルームロールパーミッションデータのセット
128128 $ permissions = $ this ->CurrentLibRoom ->findRoomRolePermissions ($ roomId );
129- foreach ($ permissions as $ key => $ permission ) {
130- $ this ->write ($ roomId , $ key , $ permission ['value ' ]);
129+ foreach ($ permissions as $ perm => $ permission ) {
130+ $ this ->write ($ roomId , $ perm , $ permission ['value ' ]);
131131 }
132132
133133 if (!isset (CurrentLib::$ permission [$ roomId ]['Permission ' ][$ key ]['value ' ])) {
You can’t perform that action at this time.
0 commit comments