Skip to content

Commit cd1c1ac

Browse files
committed
MAGETWO-82959: Fix #11729 - negative value in excel export[M2.1] #11758
- Merge Pull Request #11758 from hauso/magento2:patch-3 - Merged commits: 1. 0c660ce
2 parents d4ab99b + 0c660ce commit cd1c1ac

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)