diff --git a/application/Espo/ORM/BaseEntity.php b/application/Espo/ORM/BaseEntity.php index 8da781bb0c..15fb97648e 100644 --- a/application/Espo/ORM/BaseEntity.php +++ b/application/Espo/ORM/BaseEntity.php @@ -507,6 +507,12 @@ class BaseEntity implements Entity return 'Object'; } + if (is_array($value)) { + // Prevents an error. + // @todo Remove in v10.0. + return 'Array'; + } + return strval($value); case self::BOOL: