Import: keep boolean values
This commit is contained in:
parent
0b6f004e4f
commit
deea18f8df
|
@ -195,7 +195,7 @@ class Import
|
|||
*/
|
||||
protected function prepareImportedProperty($key, $rawValue)
|
||||
{
|
||||
if (is_array($rawValue)) {
|
||||
if (is_array($rawValue) || is_bool($rawValue)) {
|
||||
$value = json_encode($rawValue);
|
||||
$format = 'json';
|
||||
} elseif ($rawValue instanceof stdClass) {
|
||||
|
|
Loading…
Reference in New Issue