오타 코드 및 잘못된 위치에 있는 코드 수정

This commit is contained in:
thisgun
2021-02-23 18:29:30 +09:00
parent bc37a2cd59
commit 6365717c0d
2 changed files with 4 additions and 4 deletions

View File

@ -193,12 +193,12 @@ while ($row = sql_fetch_array($result))
$save[$cnt]['wr_id'] = $row2['wr_parent'];
$cnt++;
run_event('bbs_move_copy', $row2, $move_bo_table, $insert_id, $next_wr_num, $sw);
}
sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write + '$count_write' where bo_table = '$move_bo_table' ");
sql_query(" update {$g5['board_table']} set bo_count_comment = bo_count_comment + '$count_comment' where bo_table = '$move_bo_table' ");
run_event('bbs_move_copy', $row2, $move_bo_table, $insert_id, $next_wr_num, $sw);
delete_cache_latest($move_bo_table);
}

View File

@ -512,8 +512,8 @@ if ($config['cf_use_email_certify'] && $old_email != $mb_email) {
if(isset($_SESSION['ss_cert_type'])) unset($_SESSION['ss_cert_type']);
if(isset($_SESSION['ss_cert_no'])) unset($_SESSION['ss_cert_no']);
if(isset($_SESSION['ss_cert_hash'])) unset($_SESSION['ss_cert_hash']);
if(isset($_SESSION['ss_cert_hash'])) unset($_SESSION['ss_cert_birth']);
if(isset($_SESSION['ss_cert_hash'])) unset($_SESSION['ss_cert_adult']);
if(isset($_SESSION['ss_cert_birth'])) unset($_SESSION['ss_cert_birth']);
if(isset($_SESSION['ss_cert_adult'])) unset($_SESSION['ss_cert_adult']);
if ($msg)
echo '<script>alert(\''.$msg.'\');</script>';