From cdbc91afcd3a27e2804a5deda652eb50d1bf8bc6 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 10 Oct 2014 11:08:02 +0300 Subject: [PATCH] phone number to export --- application/Espo/Services/Record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php index c5649dfb45..66786ad659 100644 --- a/application/Espo/Services/Record.php +++ b/application/Espo/Services/Record.php @@ -566,7 +566,7 @@ class Record extends \Espo\Core\Services\Base if (empty($defs['notStorable'])) { $fields[] = $field; } else { - if ($defs['type'] == 'email') { + if (in_array($defs['type'], array('email', 'phone'))) { $fields[] = $field; } else if ($defs['name'] == 'name') { $fields[] = $field;