사용후기 주문완료 체크 루틴 오류 수정

This commit is contained in:
chicpro
2014-03-07 16:48:41 +09:00
parent fb7978e148
commit 12b9a4fe05
4 changed files with 11 additions and 11 deletions

View File

@ -5,9 +5,6 @@ if (!$is_member) {
alert_close("사용후기는 회원만 작성이 가능합니다.");
}
// 사용후기 작성 설정에 따른 체크
check_itemuse_write();
$it_id = trim($_REQUEST['it_id']);
$is_subject = trim($_POST['is_subject']);
$is_content = trim($_POST['is_content']);
@ -15,6 +12,9 @@ $is_name = trim($_POST['is_name']);
$is_password = trim($_POST['is_password']);
$is_score = (int)$_POST['is_score'] > 5 ? 0 : (int)$_POST['is_score'];
// 사용후기 작성 설정에 따른 체크
check_itemuse_write($it_id, $member['mb_id']);
if ($w == "" || $w == "u") {
$is_name = $member['mb_name'];
$is_password = $member['mb_password'];