From 8cd1df0f437de9fb41ac85cdb39e0b9d4b525286 Mon Sep 17 00:00:00 2001 From: kkigomi Date: Thu, 31 Aug 2023 21:17:40 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_copy_update.php | 1 - bbs/write_update.php | 1 - lib/Cache/obj.class.php | 1 - lib/common.lib.php | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 3a3a81675..ef80a0ebc 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -191,7 +191,6 @@ if ($copy_case == 'schema_data_both') { sql_query($sql, false); // 4.00.01 - // 위의 코드는 같은 테이블명을 사용하였다는 오류가 발생함. (희한하네 ㅡㅡ;) $sql = " select * from {$g5['board_file_table']} where bo_table = '$bo_table' "; $result = sql_query($sql, false); for ($i = 0; $row = sql_fetch_array($result); $i++) { diff --git a/bbs/write_update.php b/bbs/write_update.php index 7eb821663..1ead118c3 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -258,7 +258,6 @@ if ($w == '' || $w == 'r') { $wr_reply = ''; } - // wr_num 서브쿼리 kkigomi 님 제안 $sql = " insert into $write_table set wr_num = " . ($w == 'r' ? "'$wr_num'" : "(SELECT IFNULL(MIN(wr_num) - 1, -1) FROM $write_table sq) ") . ", wr_reply = '$wr_reply', diff --git a/lib/Cache/obj.class.php b/lib/Cache/obj.class.php index 807be9f20..a974fbf03 100644 --- a/lib/Cache/obj.class.php +++ b/lib/Cache/obj.class.php @@ -72,7 +72,6 @@ Class G5_object_cache { * @param string $key * @param string $group * @return bool - * kkigomi 님이 고쳐주심 */ function delete($type, $key, $group = 'default') { diff --git a/lib/common.lib.php b/lib/common.lib.php index a0f4960f1..7a86feebc 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -4157,7 +4157,7 @@ function get_random_token_string($length=6) } $characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; - $output = substr(str_shuffle($characters), 0, $length); // jihan001 님 제안코드로 수정 + $output = substr(str_shuffle($characters), 0, $length); return bin2hex($output); }