From 4a22091f79ec0c551f2863f9053ed952b6cf6fcf Mon Sep 17 00:00:00 2001 From: Andrii Kasian Date: Mon, 2 Mar 2020 22:47:36 -0600 Subject: [PATCH] Explicitly define type for in condition --- .../Catalog/Model/Indexer/Category/Product/AbstractAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php index b0aeea3230d70..b9433fda47235 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/AbstractAction.php @@ -503,7 +503,7 @@ protected function createAnchorSelect(Store $store) )->joinInner( ['cc2' => $temporaryTreeTable], $this->connection->quoteInto( - 'cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN ()', + 'cc2.parent_id = cc.entity_id AND cc.entity_id NOT IN (?)', $rootCatIds, \Zend_Db::BIGINT_TYPE ),