From 94aeb8c95e7cc44c2a81da6cedf78bbd3df1fb0e Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 18 Dec 2024 09:19:28 +0900 Subject: [PATCH] Fix on PHP7.4 --- data/class/SC_CartSession.php | 2 +- data/class/SC_FormParam.php | 2 +- data/class/helper/SC_Helper_Purchase.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/class/SC_CartSession.php b/data/class/SC_CartSession.php index a81447b066..28837adb48 100644 --- a/data/class/SC_CartSession.php +++ b/data/class/SC_CartSession.php @@ -769,7 +769,7 @@ public function calculate( $discount = 0, $deliv_id = 0, $order_pref = 0, - $order_country_id = 0, + $order_country_id = 0 ) { $results = []; $total_point = $this->getAllProductsPoint($product_type_id); diff --git a/data/class/SC_FormParam.php b/data/class/SC_FormParam.php index bbea1d2f21..8d197669cf 100644 --- a/data/class/SC_FormParam.php +++ b/data/class/SC_FormParam.php @@ -285,7 +285,7 @@ public function checkError($br = true) * @return void */ public function recursionCheck($disp_name, $func, $value, &$arrErr, - $length = 0, + $length = 0 ) { // 配列の場合は、再帰実行 if (is_array($value)) { diff --git a/data/class/helper/SC_Helper_Purchase.php b/data/class/helper/SC_Helper_Purchase.php index 3c1fbbcc0b..59d523ca30 100644 --- a/data/class/helper/SC_Helper_Purchase.php +++ b/data/class/helper/SC_Helper_Purchase.php @@ -526,7 +526,7 @@ public static function copyFromCustomer( 'sex', 'zip01', 'zip02', 'country_id', 'zipcode', 'pref', 'addr01', 'addr02', 'tel01', 'tel02', 'tel03', 'fax01', 'fax02', 'fax03', 'job', 'birth', 'email', - ], + ] ) { if ($objCustomer->isLoginSuccess(true)) { foreach ($keys as $key) {