Skip to content

Commit

Permalink
MCSPRT-417: aAjax batchSave() method should be static, php8 compatibi…
Browse files Browse the repository at this point in the history
…lity

Included in CiviCRM 5.57.0
PR: civicrm#25029
  • Loading branch information
olayiwola-compucorp committed Nov 26, 2024
1 parent 10bb173 commit 367c71e
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 @@ -23,7 +23,7 @@ class CRM_Batch_Page_AJAX {
/**
* Save record.
*/
public function batchSave() {
public static function batchSave() {
CRM_Core_Page_AJAX::validateAjaxRequestMethod();
// save the entered information in 'data' column
$batchId = CRM_Utils_Type::escape($_POST['batch_id'], 'Positive');
Expand Down

0 comments on commit 367c71e

Please sign in to comment.