minor fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 26 May 2015 08:26:57 +0000 (13:56 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 26 May 2015 08:26:57 +0000 (13:56 +0530)
CRM/Batch/Form/Entry.php

index 334ff90d69b0b2a008f269802e834785a82af6ee..d5513aa7270b77de47cc8715db390769e609101b 100755 (executable)
@@ -290,7 +290,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
     foreach ($params['field'] as $key => $value) {
       foreach($fields as $field => $label) {
         if (!empty($params['primary_contact_id'][$key]) && empty($value[$field])) {
-          $errors["field[$key][$field]"] = ts("$label is a required field.");
+          $errors["field[$key][$field]"] = ts('%1 is a required field.', array(1 => $label));
         }
       }
     }