diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 7cc1039f4..55fc56700 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -75,7 +75,10 @@ if ($w == '' || $w == 'u') { if ($w=='') { if ($msg = exist_mb_id($mb_id)) alert($msg); - if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다."); + if ($config['cf_use_recommend']) { + if (!exist_mb_id($mb_recommend)) + alert("추천인이 존재하지 않습니다."); + } if (strtolower($mb_id) == strtolower($mb_recommend)) { alert('본인을 추천할 수 없습니다.'); diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index f4fdc3956..4ab8f50e0 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -81,7 +81,7 @@ if ($w == 'c') // 댓글 입력 where wr_id = '$comment_id' "; $reply_array = sql_fetch($sql); if (!$reply_array['wr_id']) - alert('답변할 댓글가 없습니다.\\n\\n답변하는 동안 댓글가 삭제되었을 수 있습니다.'); + alert('답변할 댓글이 없습니다.\\n\\n답변하는 동안 댓글이 삭제되었을 수 있습니다.'); $tmp_comment = $reply_array['wr_comment']; diff --git a/plugin/syndi/include/include.bbs.delete.php b/plugin/syndi/include/include.bbs.delete.php index 19aa2c417..a25e50bcb 100644 --- a/plugin/syndi/include/include.bbs.delete.php +++ b/plugin/syndi/include/include.bbs.delete.php @@ -28,7 +28,7 @@ $subject_row = sql_fetch($sql); $_link = './bbs/board.php?bo_table=%s&wr_id=%s'; $_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')"; -sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis'))); +sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false); $oPing = new SyndicationPing; $oPing->setId(SyndicationHandler::getTag('channel', $bo_table)); diff --git a/plugin/syndi/include/include.bbs.delete_all.php b/plugin/syndi/include/include.bbs.delete_all.php index 248e9a7d4..9361a3e85 100644 --- a/plugin/syndi/include/include.bbs.delete_all.php +++ b/plugin/syndi/include/include.bbs.delete_all.php @@ -27,7 +27,7 @@ $subject_row = sql_fetch($sql); $_link = './bbs/board.php?bo_table=%s&wr_id=%s'; $_sql = "insert into {$g4['syndi_log_table']} (content_id, bbs_id, title, link_alternative, delete_date) values('%s','%s','%s','%s','%s')"; -sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis'))); +sql_query(sprintf($_sql, $row['wr_id'], $bo_table, addslashes($subject_row['wr_subject']), sprintf($_link, $bo_table, $row['wr_id']), date('YmdHis')), false); $oPing = new SyndicationPing; $oPing->setId(SyndicationHandler::getTag('channel', $bo_table)); diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php index 6948f4b65..0abf94bdf 100644 --- a/skin/member/basic/register_form.skin.php +++ b/skin/member/basic/register_form.skin.php @@ -214,7 +214,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가