diff --git a/application/Espo/Core/Export/Xlsx.php b/application/Espo/Core/Export/Xlsx.php index 3ef64cdd09..fc0bff0df0 100644 --- a/application/Espo/Core/Export/Xlsx.php +++ b/application/Espo/Core/Export/Xlsx.php @@ -534,6 +534,9 @@ class Xlsx extends \Espo\Core\Injectable foreach ($fieldList as $i => $name) { $col = $azRange[$i]; + if (!array_key_exists($name, $typesCache)) { + break; + } $type = $typesCache[$name]; switch ($type) {