From 4ecacec171d4fb76ed11c243c56405e1725af513 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 6 Aug 2026 06:31:04 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=EA=B7=B8=EB=A3=B9?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C=20=EA=B2=BD=EA=B3=A0=EC=9D=98=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EB=AA=A9=EB=A1=9D=20=EB=A7=81=ED=81=AC=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=EB=8C=80=EC=83=81=20=EA=B0=92=20=EC=A0=95?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit board_list.php 의 검색대상 값은 a.gr_id 이나 링크가 gr_id 로 전달하여 그룹에 속한 게시판이 조회되지 않던 문제를 수정한다. 접두사가 없는 gr_id 는 최고관리자가 아닌 경우 그룹 테이블을 함께 조회하는 구조에서 컬럼 모호성 오류가 발생하므로 a.gr_id 로 맞춘다. Co-Authored-By: Claude Opus 5 (1M context) (cherry picked from commit c6dd497a450bd5ba08d743efc26ba73fcdd9e626) --- adm/boardgroup_list_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/boardgroup_list_update.php b/adm/boardgroup_list_update.php index 7a159ae79..942460d27 100644 --- a/adm/boardgroup_list_update.php +++ b/adm/boardgroup_list_update.php @@ -42,7 +42,7 @@ for ($i = 0; $i < $chk_count; $i++) { } elseif ($act_button == '선택삭제') { $row = sql_fetch(" select count(*) as cnt from {$g5['board_table']} where gr_id = '$gr_id' "); if ($row['cnt']) { - alert("이 그룹에 속한 게시판이 존재하여 게시판 그룹을 삭제할 수 없습니다.\\n\\n이 그룹에 속한 게시판을 먼저 삭제하여 주십시오.", './board_list.php?sfl=gr_id&stx=' . $gr_id); + alert("이 그룹에 속한 게시판이 존재하여 게시판 그룹을 삭제할 수 없습니다.\\n\\n이 그룹에 속한 게시판을 먼저 삭제하여 주십시오.", './board_list.php?sfl=a.gr_id&stx=' . $gr_id); } // 그룹 삭제