Skip to content

Commit 2a84261

Browse files
committed
MAGETWO-82851: Fix #11729 - negative value in excel export [M2.2] #11757
- Merge Pull Request #11757 from hauso/magento2:patch-2 - Merged commits: 1. 2aa22d4
2 parents 04140ba + 2aa22d4 commit 2a84261

File tree

1 file changed

+1
-0
lines changed
  • lib/internal/Magento/Framework/Convert

1 file changed

+1
-0
lines changed

lib/internal/Magento/Framework/Convert/Excel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ protected function _getXmlRow($row, $useCallback)
147147
}
148148
if (isset($value[0]) && in_array($value[0], ['=', '+', '-'])) {
149149
$value = ' ' . $value;
150+
$dataType = 'String';
150151
}
151152

152153
$value = str_replace("\r\n", '
', $value);

0 commit comments

Comments
 (0)