CRM_Core_Form::addField fixes
[civicrm-core.git] / CRM / Contact / Form / Contact.php
index 1d2dba8fb67f1fde3383d6adcfd5693edeea98b9..4bde8dc3b8b0610488ef79c519a8b75afaa81602 100644 (file)
@@ -779,9 +779,8 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
         'options' => $subtypes,
         'class' => $buildCustomData,
         'multiple' => 'multiple',
-        'options-url' => FALSE,
-          )
-      );
+        'option_url' => NULL,
+      ));
     }
 
     // build edit blocks ( custom data, demographics, communication preference, notes, tags and groups )