diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 88234c677..d595827e6 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -320,7 +320,7 @@ if ($msg) if ($w == "") { goto_url(G4_BBS_URL.'/register_result.php'); } else if ($w == 'u') { - $row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member[mb_id]}' "); + $row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member['mb_id']}' "); $tmp_password = $row['mb_password']; if ($old_email != $mb_email && $config['cf_use_email_certify']) { diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index 3b818daf7..8614d683c 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -48,7 +48,7 @@ if (empty($wr['wr_id'])) // 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다. //if (!trim($_POST["wr_content"])) die ("내용을 입력하여 주십시오."); -if ($member[mb_id]) +if ($is_member) { $mb_id = $member['mb_id']; // 4.00.13 - 실명 사용일때 댓글에 별명으로 입력되던 오류를 수정 @@ -193,7 +193,7 @@ if ($w == 'c') // 댓글 입력 $warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'댓글 ', 'cu'=>'댓글 수정' ); $str = $warr[$w]; - $subject = $board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.'; + $subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.'; // 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정 $link_url = G4_BBS_URL."/board.php?bo_table=".$bo_table."&wr_id=".$wr_id."&".$qstr."#c_".$comment_id; @@ -281,7 +281,7 @@ else if ($w == 'cu') // 댓글 수정 and wr_is_comment = 1 "; $row = sql_fetch($sql); if ($row['cnt'] && !$is_admin) - alert('이 댓글와 관련된 답변댓글가 존재하므로 수정 할 수 없습니다.'); + alert('이 댓글와 관련된 답변댓글이 존재하므로 수정 할 수 없습니다.'); $sql_ip = ""; if (!$is_admin) diff --git a/bbs/write_update.php b/bbs/write_update.php index 26a660bd6..f9c973c94 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -562,6 +562,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai $str = $warr[$w]; $subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.'; + $link_url = G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&'.$qstr; include_once(G4_LIB_PATH.'/mailer.lib.php');