Batch entry label change
authorColeman Watts <coleman@civicrm.org>
Tue, 18 Feb 2014 16:50:21 +0000 (08:50 -0800)
committerColeman Watts <coleman@civicrm.org>
Tue, 18 Feb 2014 16:50:21 +0000 (08:50 -0800)
CRM/Batch/Form/Entry.php

index f9764a48ab32902ab148dda96f1ed2a3a6069479..c5d53b57b70652b776a0293846025f92e27d8f41 100644 (file)
@@ -194,7 +194,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
     $contactTypes = array('Contact', 'Individual', 'Household', 'Organization');
     $contactReturnProperties = array();
     for ($rowNumber = 1; $rowNumber <= $this->_batchInfo['item_count']; $rowNumber++) {
-      $this->addEntityRef("primary_contact_id[{$rowNumber}]", '', array('create' => TRUE));
+      $this->addEntityRef("primary_contact_id[{$rowNumber}]", '', array('create' => TRUE, 'placeholder' => ts('- select -')));
 
       // special field specific to membership batch udpate
       if ($this->_batchInfo['type_id'] == 2) {