diff --git a/library/Director/Import/Import.php b/library/Director/Import/Import.php index e207188a..7b6fcb7d 100644 --- a/library/Director/Import/Import.php +++ b/library/Director/Import/Import.php @@ -195,7 +195,7 @@ class Import */ protected function prepareImportedProperty($key, $rawValue) { - if (is_array($rawValue) || is_bool($rawValue)) { + if (is_array($rawValue) || is_bool($rawValue) || is_int($rawValue) || is_float($rawValue)) { $value = json_encode($rawValue); $format = 'json'; } elseif ($rawValue instanceof stdClass) {