From 3779b4a93e334c27b729386f6ccfcc466f3aacf1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 15 Jan 2022 13:01:12 -0700 Subject: [PATCH] No need to require contact type when adding a new contact. --- app/contacts/contact_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/contacts/contact_edit.php b/app/contacts/contact_edit.php index f0487a1d82..70f09a381d 100644 --- a/app/contacts/contact_edit.php +++ b/app/contacts/contact_edit.php @@ -234,7 +234,7 @@ //check for all required data $msg = ''; - if (strlen($contact_type) == 0) { $msg .= $text['message-required']." ".$text['label-contact_type']."
\n"; } + //if (strlen($contact_type) == 0) { $msg .= $text['message-required']." ".$text['label-contact_type']."
\n"; } //if (strlen($contact_title) == 0) { $msg .= $text['message-required']." ".$text['label-contact_title']."
\n"; } //if (strlen($contact_role) == 0) { $msg .= $text['message-required']." ".$text['label-contact_role']."
\n"; } //if (strlen($contact_category) == 0) { $msg .= $text['message-required']." ".$text['label-contact_category']."
\n"; }