From 367c71efd30a9fc2adffb606b592c48630c502bd Mon Sep 17 00:00:00 2001 From: olayiwola-compucorp Date: Mon, 25 Nov 2024 13:06:23 +0100 Subject: [PATCH] MCSPRT-417: aAjax batchSave() method should be static, php8 compatibility Included in CiviCRM 5.57.0 PR: https://github.com/civicrm/civicrm-core/pull/25029 --- CRM/Batch/Page/AJAX.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Batch/Page/AJAX.php b/CRM/Batch/Page/AJAX.php index 5d2ee42e7ec3..d2cdca43cfcc 100644 --- a/CRM/Batch/Page/AJAX.php +++ b/CRM/Batch/Page/AJAX.php @@ -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');