diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Category.php b/app/code/Magento/Catalog/Model/ResourceModel/Category.php index 86e10f6485eef..d8bf411eefbb3 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Category.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Category.php @@ -768,7 +768,6 @@ public function getChildren($category, $recursive = true) $backendTable = $this->getTable([$this->getEntityTablePrefix(), 'int']); $connection = $this->getConnection(); $checkSql = $connection->getCheckSql('c.value_id > 0', 'c.value', 'd.value'); - $linkField = $this->getLinkField(); $bind = [ 'attribute_id' => $attributeId, 'store_id' => $category->getStoreId(),