From: jitendrapurohit Date: Tue, 26 May 2015 08:42:20 +0000 (+0530) Subject: warning fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=61f4588737005d093b0a2f25cbfcea31bbc316a6;p=civicrm-core.git warning fix --- 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)); }