Remove copy&paste extraneous select
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 7 Jun 2022 19:40:28 +0000 (07:40 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 7 Jun 2022 21:55:12 +0000 (09:55 +1200)
CRM/Activity/Import/Form/MapField.php

index 92d9ffd39beba6c6d40ceae4e41ca4aaf7d679ac..3183e7055c118277276d664fee81edfc331d96ef 100644 (file)
@@ -97,10 +97,7 @@ class CRM_Activity_Import_Form_MapField extends CRM_Import_Form_MapField {
         }
       }
 
-      $sel->setOptions([
-        $sel1,
-        ['' => NULL],
-      ]);
+      $sel->setOptions([$sel1]);
     }
     $js .= "</script>\n";
     $this->assign('initHideBoxes', $js);