From 4bcac656ce73786c66e4fce6c33cfdb30c62e786 Mon Sep 17 00:00:00 2001 From: Eli Lisseck Date: Wed, 28 Nov 2018 17:17:33 -0800 Subject: [PATCH] dev/core/485 website type should be required as other type values are --- CRM/Contact/Form/Edit/Website.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Edit/Website.php b/CRM/Contact/Form/Edit/Website.php index 43ade78cf4..9d6880cad5 100644 --- a/CRM/Contact/Form/Edit/Website.php +++ b/CRM/Contact/Form/Edit/Website.php @@ -55,7 +55,7 @@ class CRM_Contact_Form_Edit_Website { $form->applyFilter('__ALL__', 'trim'); //Website type select - $form->addField("website[$blockId][website_type_id]", array('entity' => 'website', 'class' => 'eight')); + $form->addField("website[$blockId][website_type_id]", array('entity' => 'website', 'class' => 'eight', 'placeholder' => NULL)); //Website box $form->addField("website[$blockId][url]", array('entity' => 'website', 'aria-label' => ts('Website URL %1', [1 => $blockId]))); -- 2.25.1