----------------------------------------
* CRM-20655: Notice error on batch listing
https://issues.civicrm.org/jira/browse/CRM-20655
$batch['total'] = '';
$batch['payment_instrument'] = $value['payment_instrument'];
$batch['item_count'] = CRM_Utils_Array::value('item_count', $value);
- $batch['type'] = $value['batch_type'];
+ $batch['type'] = CRM_Utils_Array::value('batch_type', $value);
if (!empty($value['total'])) {
$batch['total'] = CRM_Utils_Money::format($value['total']);
}