From bc5d64cedb32109f2612f6bc77400c885280dfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8A=98?= <34568024+aug21@users.noreply.github.com> Date: Sat, 29 Oct 2022 15:18:36 +0900 Subject: [PATCH 1/2] Update ready.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 오너명 검색이 불가능한 현상 수정 --- AvocadoEdition/member/ready.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AvocadoEdition/member/ready.php b/AvocadoEdition/member/ready.php index 2387720..dce23b2 100644 --- a/AvocadoEdition/member/ready.php +++ b/AvocadoEdition/member/ready.php @@ -62,11 +62,11 @@ if(!$search_arcode) { } if($stx) { - if($sfl == 'mb_nick') { + if($sfl == 'mb_name') { $temp_search = ""; $connect_str = ""; - $temp = sql_query("select mb_id from {$g5['member_table']} where mb_nick like '%".$stx."%'"); + $temp = sql_query("select mb_id from {$g5['member_table']} where mb_name like '%".$stx."%'"); for($t = 0; $row = sql_fetch_array($temp); $t++) { $temp_search .= $connect_str."mb_id = '".$row['mb_id']."'"; $connect_str = " OR "; From a6c79b81ba53cb2660279f0ab743b6e0301edbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8A=98?= <34568024+aug21@users.noreply.github.com> Date: Sat, 29 Oct 2022 20:24:51 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EB=82=B4?= =?UTF-8?q?=EC=9A=A9=EC=9D=B4=20=EC=95=88=20=EC=A0=81=ED=98=80=20=EC=9E=88?= =?UTF-8?q?=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EB=82=B4=EC=9A=A9=EC=97=90=20?= =?UTF-8?q?=EC=A0=81=EC=9D=80=20=EC=BD=98=ED=85=90=EC=B8=A0=EA=B0=80=20?= =?UTF-8?q?=EB=B3=B4=EC=9D=B4=EB=8F=84=EB=A1=9D=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AvocadoEdition/bbs/content.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AvocadoEdition/bbs/content.php b/AvocadoEdition/bbs/content.php index cc9a78a..8089329 100644 --- a/AvocadoEdition/bbs/content.php +++ b/AvocadoEdition/bbs/content.php @@ -6,8 +6,6 @@ if( !isset($g5['content_table']) ){ die('관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.'); } - - // 내용 $sql = " select * from {$g5['content_table']} where co_id = '$co_id' "; $co = sql_fetch($sql); @@ -22,7 +20,7 @@ if (is_include_path_check($co['co_include_head'])) else include_once('./_head.php'); -if (G5_IS_MOBILE) { +if (G5_IS_MOBILE && $co['co_mobile_content'] != "") { $str = conv_content($co['co_mobile_content'], $co['co_html'], $co['co_tag_filter_use']); } else { $str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);