Skip to content

Commit 879ae1c

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3172: Import button missing
1 parent c3ab314 commit 879ae1c

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/ImportExport/Controller/Adminhtml/Import

1 file changed

+1
-1
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Import/Validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private function addMessageToSkipErrors(Result $resultBlock)
163163
*/
164164
private function addMessageForValidResult(Result $resultBlock, $totalError, $totalRows)
165165
{
166-
if ($this->getImport()->isImportAllowed() && $totalRows > $totalError) {
166+
if ($this->getImport()->isImportAllowed() && $totalRows >= $totalError) {
167167
$resultBlock->addSuccess(__('File is valid! To start import process press "Import" button'), true);
168168
} else {
169169
$resultBlock->addError(__('The file is valid, but we can\'t import it for some reason.'));

0 commit comments

Comments
 (0)