From 61f4588737005d093b0a2f25cbfcea31bbc316a6 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Tue, 26 May 2015 14:12:20 +0530 Subject: [PATCH] warning fix --- CRM/Batch/Form/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index d5513aa727..fea1fe1868 100755 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -288,7 +288,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { //CRM-16480 if contact is selected, validate financial type and amount field. foreach ($params['field'] as $key => $value) { - foreach($fields as $field => $label) { + foreach ($fields as $field => $label) { if (!empty($params['primary_contact_id'][$key]) && empty($value[$field])) { $errors["field[$key][$field]"] = ts('%1 is a required field.', array(1 => $label)); } -- 2.25.1