From ea6d617ae27c91d267328ab1d32951f7ef41c8a8 Mon Sep 17 00:00:00 2001 From: TATECK Date: Sun, 28 May 2023 18:30:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=20:=20=EA=B8=B0=EB=B3=B8=20=EC=A0=84?= =?UTF-8?q?=EC=8B=A0=20=EC=84=A4=EC=A0=95=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 캐릭터 게시판에서, 기본 전신 설정 시 발생하는 버그를 수정하였습니다. --- .../skin/board/character/proc/set_body.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/AvocadoEdition_Light/skin/board/character/proc/set_body.php b/AvocadoEdition_Light/skin/board/character/proc/set_body.php index b479d5b..0773340 100644 --- a/AvocadoEdition_Light/skin/board/character/proc/set_body.php +++ b/AvocadoEdition_Light/skin/board/character/proc/set_body.php @@ -10,18 +10,13 @@ if(!$is_admin) { } } +sql_query("update {$g5['character_body_table']} set bd_use = '' where wr_id = '{$wr_id}'"); $bd = sql_fetch("select * from {$g5['character_body_table']} where bd_id = '{$bd_id}'"); if($bd['bd_id']) { $sql = " update {$g5['character_body_table']} set bd_use = '1' where bd_id = '{$bd['bd_id']}'"; sql_query($sql); -} else { - $sql = " update {$g5['character_body_table']} - set bd_use = '' - where wr_id = '{$wr_id}'"; - sql_query($sql); - } ?> \ No newline at end of file