fixed Undefined variable

This commit is contained in:
kjh
2022-05-24 08:48:51 +00:00
parent b591c91c99
commit 3aee9326d7
8 changed files with 24 additions and 15 deletions

View File

@ -2,11 +2,15 @@
include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
if ($is_guest)
if ($is_guest) {
alert_close('회원만 이용하실 수 있습니다.');
}
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
$mb_id = isset($mb_id) ? get_search_string($mb_id) : '';
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id) {
alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 수 있습니다.");
}
$content = "";
$me_recv_mb_id = isset($_REQUEST['me_recv_mb_id']) ? clean_xss_tags($_REQUEST['me_recv_mb_id'], 1, 1) : '';