Skip to content

Commit 4a1089f

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-15418: Sold products aren't displayed in Bestsellers
- Variable $aliases deleted;
1 parent 946d85d commit 4a1089f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Statistics.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,9 @@ protected function _getCollectionNames()
9090
$codes = explode(',', $codes);
9191
}
9292

93-
$aliases = $this->reportTypes;
9493
$out = [];
9594
foreach ($codes as $code) {
96-
$out[] = $aliases[$code];
95+
$out[] = $this->reportTypes[$code];
9796
}
9897
return $out;
9998
}

0 commit comments

Comments
 (0)