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');