mirror of
https://github.com/tateck-develop/AvocadoEdition_Light.git
synced 2026-01-02 13:32:04 +09:00
캐릭터 게시판 : 기본 전신 설정 버그 수정
캐릭터 게시판에서, 기본 전신 설정 시 발생하는 버그를 수정하였습니다.
This commit is contained in:
parent
f0d7b990bd
commit
ea6d617ae2
1 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in a new issue