From 165c16fd0683bd0efebf5987246359d4fc214d7b Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Thu, 30 May 2019 20:16:09 +0900 Subject: [PATCH] =?UTF-8?q?SC=5FQuery::setWhere()=20=E3=81=A7=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=81=97=E3=81=9F=E6=A4=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E3=81=8C=E7=84=A1=E8=A6=96=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=82=92=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 1c2e0f60e3..7206e138ee 100644 --- a/data/class/SC_Product.php +++ b/data/class/SC_Product.php @@ -87,7 +87,7 @@ public function findProductIdsOrder(&$objQuery, $arrVal = array()) $objQuery->setOrder("($sub_sql) $o_order, product_id"); } - $arrReturn = $objQuery->getCol('alldtl.product_id', $table, 'alldtl.del_flg = 0', $arrVal); + $arrReturn = $objQuery->getCol('alldtl.product_id', $table, $objQuery->where ? '' : 'alldtl.del_flg = 0', $arrVal); return $arrReturn; }