mirror of
https://github.com/tateck-develop/AvocadoEdition_Light.git
synced 2026-01-02 13:32:04 +09:00
Merge pull request #1 from commurunning/fix/skin/board/character/add-body-permission
Fix permission check condition
This commit is contained in:
commit
6c9618c410
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ include_once('./_common.php');
|
||||||
|
|
||||||
// 권한 확인
|
// 권한 확인
|
||||||
if(!$is_admin) {
|
if(!$is_admin) {
|
||||||
if($member['mb_id'] && $write['mb_id'] == $member['mb_id']) {
|
if($member['mb_id'] && $write['mb_id'] != $member['mb_id']) { // 본인의 게시물이 아닌 경우
|
||||||
exit;
|
exit;
|
||||||
} else if ($member['mb_level'] < $board['bo_write_level']) {
|
} else if ($member['mb_level'] < $board['bo_write_level']) {
|
||||||
exit;
|
exit;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue