From 95df9d7900c0b1a13c9698b749ad690db8c9faf3 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Tue, 13 Jun 2023 01:18:27 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A4=87=E6=95=B0=E3=81=AE=E9=85=8D=E9=80=81?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E3=82=92=E9=81=B8=E6=8A=9E=E8=82=A2=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F=E5=A0=B4=E5=90=88=E3=80=81=E7=84=A1=E5=8A=B9?= =?UTF-8?q?=E3=81=AA=E9=85=8D=E9=80=81=E6=96=B9=E6=B3=95=E3=81=AE=E3=82=A8?= =?UTF-8?q?=E3=83=A9=E3=83=BC=E3=81=AB=E3=81=AA=E3=82=8B=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/class/pages/shopping/LC_Page_Shopping_Payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/class/pages/shopping/LC_Page_Shopping_Payment.php b/data/class/pages/shopping/LC_Page_Shopping_Payment.php index d0ee7e83af..c87a6a0027 100644 --- a/data/class/pages/shopping/LC_Page_Shopping_Payment.php +++ b/data/class/pages/shopping/LC_Page_Shopping_Payment.php @@ -380,9 +380,9 @@ public function lfRegistData($uniqid, $arrForm, &$objPurchase, $arrPayment) $objDelivery = new SC_Helper_Delivery(); $validDelivery = array_filter($objDelivery->getList($this->cartKey), function ($delivery) use ($arrForm) { - return $arrForm['deliv_id'] != $delivery['deliv_id']; + return $arrForm['deliv_id'] == $delivery['deliv_id']; }); - if (!empty($validDelivery)) { + if (empty($validDelivery)) { trigger_error('無効な配送方法: ' . var_export($arrForm['deliv_id'], true), E_USER_ERROR); }