phone number to export

This commit is contained in:
Yuri Kuznetsov
2014-10-10 11:08:02 +03:00
parent b2fb451620
commit cdbc91afcd
+1 -1
View File
@@ -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;