diff --git a/Classes/Service/DatabaseStorageService.php b/Classes/Service/DatabaseStorageService.php index 48ef043..59a0dd1 100644 --- a/Classes/Service/DatabaseStorageService.php +++ b/Classes/Service/DatabaseStorageService.php @@ -293,6 +293,12 @@ protected function getStringValue($value, int $indent = 0): string if (is_string($value)) { return $value; } + if (is_numeric($value)) { + return (string) $value; + } + if (is_bool($value)) { + return ($value ? 'true' : 'false'); + } if (is_object($value) && method_exists($value, '__toString')) { return (string)$value; }