Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
네이버 페이 상품 구매시 잘못된 필터링 구문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Sep 21, 2017
1 parent 3da5a37 commit e43425c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shop/naverpay/naverpay_order.php
Expand Up @@ -149,7 +149,7 @@
// 재고 검사
//--------------------------------------------------------
for($k=0; $k<$opt_count; $k++) {
$io_id = preg_replace($pattern, '', $_POST['io_id'][$it_id][$k]);
$io_id = preg_replace(G5_OPTION_ID_FILTER, '', trim(stripslashes($_POST['io_id'][$it_id][$k])));
$io_type = (int) $_POST['io_type'][$it_id][$k];
$io_value = $_POST['io_value'][$it_id][$k];

Expand All @@ -171,7 +171,7 @@
$itm_ids[] = $it_id;

for($k=0; $k<$opt_count; $k++) {
$io_id = preg_replace($pattern, '', $_POST['io_id'][$it_id][$k]);
$io_id = preg_replace(G5_OPTION_ID_FILTER, '', trim(stripslashes($_POST['io_id'][$it_id][$k])));
$io_type = (int) $_POST['io_type'][$it_id][$k];
$io_value = $_POST['io_value'][$it_id][$k];

Expand Down

0 comments on commit e43425c

Please sign in to comment.