No need to require contact type when adding a new contact.

This commit is contained in:
FusionPBX
2022-01-15 13:01:12 -07:00
committed by GitHub
parent 0a8c6f01fb
commit 3779b4a93e

View File

@@ -234,7 +234,7 @@
//check for all required data
$msg = '';
if (strlen($contact_type) == 0) { $msg .= $text['message-required']." ".$text['label-contact_type']."<br>\n"; }
//if (strlen($contact_type) == 0) { $msg .= $text['message-required']." ".$text['label-contact_type']."<br>\n"; }
//if (strlen($contact_title) == 0) { $msg .= $text['message-required']." ".$text['label-contact_title']."<br>\n"; }
//if (strlen($contact_role) == 0) { $msg .= $text['message-required']." ".$text['label-contact_role']."<br>\n"; }
//if (strlen($contact_category) == 0) { $msg .= $text['message-required']." ".$text['label-contact_category']."<br>\n"; }