Skip to content

Commit

Permalink
Merge pull request #10743 from JMAConsulting/CRM-20947
Browse files Browse the repository at this point in the history
CRM-20947, fixed notice error for deprecated function on Bulk entry B…
  • Loading branch information
eileenmcnaughton authored Jul 25, 2017
2 parents e4776cd + c4514e7 commit e3a8d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Batch/Page/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static function getBatchList() {

if ($context != 'financialBatch') {
// data entry status batches
$params['status_id'] = CRM_Core_OptionGroup::getValue('batch_status', 'Data Entry', 'name');
$params['status_id'] = CRM_Core_PseudoConstant::getKey('CRM_Batch_BAO_Batch', 'status_id', 'Data Entry');
}

$params['context'] = $context;
Expand Down

0 comments on commit e3a8d33

Please sign in to comment.