Skip to content

Commit dd98dde

Browse files
dhorytskyiBeagon
authored andcommitted
MAGETWO-96908: [2.3] Wrong attribute value in flat table
1 parent d700436 commit dd98dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ protected function _updateTemporaryTableByStoreValues(
365365
[]
366366
)->columns(
367367
[$columnName => $this->_connection->getIfNullSql('ts.value', 't0.value')]
368-
)->where($attributeCode . ' IS NOT NULL');
368+
)->where($columnName . ' IS NOT NULL');
369369
if (!empty($changedIds)) {
370370
$select->where($this->_connection->quoteInto('et.entity_id IN (?)', $changedIds));
371371
}

0 commit comments

Comments
 (0)