From c3094a1cfa84da677a5619d1b107aa2c0446d804 Mon Sep 17 00:00:00 2001 From: pineray Date: Wed, 16 Mar 2022 09:33:19 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A6=8F=E6=A0=BC1=E3=81=AE=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=81=8C=E6=AD=A3=E3=81=97?= =?UTF-8?q?=E3=81=8F=E8=A1=8C=E3=82=8F=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86?= =?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/SC_Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/class/SC_Product.php b/data/class/SC_Product.php index c89b8e4565..9b99d0beb9 100644 --- a/data/class/SC_Product.php +++ b/data/class/SC_Product.php @@ -298,7 +298,7 @@ public function setProductsClassByProductIds($arrProductId, $has_deleted = false $this->stock_find[$productId] = true; } - if (!in_array($classcategory_id1, $classCats1)) { + if (!in_array($classcategory_id1, array_keys($classCats1))) { $classCats1[$classcategory_id1] = $arrProductsClass['classcategory_name1'] . ($classcategory_id2 == 0 && !$stock_find_class ? ' (ε“εˆ‡γ‚ŒδΈ­)' : ''); }