From 887833089b70b1b01b824c3459ca35ed86c9c6ab Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 22 Sep 2025 11:05:39 +0900 Subject: [PATCH] =?UTF-8?q?php=20warning=20=EB=A9=94=EC=8B=9C=EC=A7=80=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/auth_update.php | 2 +- bbs/memo_form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/auth_update.php b/adm/auth_update.php index ab01b0316..9096982e9 100644 --- a/adm/auth_update.php +++ b/adm/auth_update.php @@ -13,7 +13,7 @@ if ($is_admin != 'super') { } $mb = get_member($mb_id); -if (!$mb['mb_id']) { +if (!(isset($mb['mb_id']) && $mb['mb_id'])) { alert('존재하는 회원아이디가 아닙니다.'); } diff --git a/bbs/memo_form.php b/bbs/memo_form.php index 02848e129..55ea41a36 100644 --- a/bbs/memo_form.php +++ b/bbs/memo_form.php @@ -20,7 +20,7 @@ $me_id = isset($_REQUEST['me_id']) ? clean_xss_tags($_REQUEST['me_id'] if ($me_recv_mb_id) { $mb = get_member($me_recv_mb_id); - if (!$mb['mb_id']) + if (!(isset($mb['mb_id']) && $mb['mb_id'])) alert_close('회원정보가 존재하지 않습니다.\\n\\n탈퇴하였을 수 있습니다.'); if (!$mb['mb_open'] && $is_admin != 'super')