We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4bed14 commit 1bfd17eCopy full SHA for 1bfd17e
app/code/Magento/CustomerImportExport/Model/Import/Customer.php
@@ -383,7 +383,7 @@ protected function _prepareDataForUpdate(array $rowData)
383
if ('select' == $attributeParameters['type']) {
384
$value = isset($attributeParameters['options'][strtolower($value)])
385
? $attributeParameters['options'][strtolower($value)]
386
- : null;
+ : 0;
387
} elseif ('datetime' == $attributeParameters['type']) {
388
$value = (new \DateTime())->setTimestamp(strtotime($value));
389
$value = $value->format(\Magento\Framework\Stdlib\DateTime::DATETIME_PHP_FORMAT);
0 commit comments