Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

カートを削除しないようにするパッチの修正 #533

Merged
merged 1 commit into from
Mar 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions zap/patches/0009-cart_delete.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
From 274562f19542ac7548c75a65677d0e46af89a655 Mon Sep 17 00:00:00 2001
From e5ff639f14b96837824a1e923db7b36ee8d375b0 Mon Sep 17 00:00:00 2001
From: Kentaro Ohkouchi <[email protected]>
Date: Fri, 18 Feb 2022 15:56:54 +0900
Date: Tue, 22 Mar 2022 11:37:23 +0900
Subject: [PATCH] =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=83=88=E5=89=8A=E9=99=A4?=
=?UTF-8?q?=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=99?=
=?UTF-8?q?=E3=82=8B=E3=83=91=E3=83=83=E3=83=81?=
Expand All @@ -13,15 +13,15 @@ Content-Transfer-Encoding: 8bit
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/class/SC_CartSession.php b/data/class/SC_CartSession.php
index add3a0555..b022d932f 100644
index 0e0390a2d..99a55370c 100644
--- a/data/class/SC_CartSession.php
+++ b/data/class/SC_CartSession.php
@@ -518,7 +518,7 @@ class SC_CartSession
$max = $this->getMax($productTypeId);
@@ -536,7 +536,7 @@ class SC_CartSession
$max = $this->getMax($product_type_id);
for ($i = 0; $i <= $max; $i++) {
if ($this->cartSession[$productTypeId][$i]['cart_no'] == $cart_no) {
- unset($this->cartSession[$productTypeId][$i]);
+ // unset($this->cartSession[$productTypeId][$i]);
if ($this->cartSession[$product_type_id][$i]['cart_no'] == $cart_no) {
- unset($this->cartSession[$product_type_id][$i]);
+ // unset($this->cartSession[$product_type_id][$i]);
}
}
}
Expand Down