Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 010322b

Browse files
MAGETWO-82851: Fix #11729 - negative value in excel export [M2.2] #11757
2 parents 1355fa6 + 2a84261 commit 010322b

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)