diff --git a/CRM/AnnualGrantBudgets/DAO/GrantBudget.php b/CRM/AnnualGrantBudgets/DAO/GrantBudget.php
index 5a050f9..dba68bb 100644
--- a/CRM/AnnualGrantBudgets/DAO/GrantBudget.php
+++ b/CRM/AnnualGrantBudgets/DAO/GrantBudget.php
@@ -151,7 +151,7 @@ class CRM_AnnualGrantBudgets_DAO_GrantBudget extends CRM_Core_DAO {
'type' => 'Select',
],
'pseudoconstant' => [
- 'callback' => 'CRM_Grant_BAO_GrantBudget::getFiscalyear',
+ 'callback' => 'CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear',
],
],
'budget' => [
diff --git a/annualgrantbudgets.php b/annualgrantbudgets.php
index 61a7dc1..4bd34f7 100644
--- a/annualgrantbudgets.php
+++ b/annualgrantbudgets.php
@@ -229,7 +229,7 @@ function annualgrantbudgets_civicrm_validateForm($formName, &$fields, &$files, &
if ($paidStatusID != $fields['status_id']) {
return;
}
- $budgetErrors = CRM_Grant_BAO_GrantBudget::checkBudget($fields, $form->getVar('_id'));
+ $budgetErrors = CRM_AnnualGrantBudgets_BAO_GrantBudget::checkBudget($fields, $form->getVar('_id'));
$errors = array_merge($errors, $budgetErrors);
}
}
diff --git a/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml b/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml
index 81da33a..534105b 100644
--- a/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml
+++ b/xml/schema/CRM/AnnualGrantBudgets/GrantBudget.xml
@@ -53,7 +53,7 @@
false
false
- CRM_Grant_BAO_GrantBudget::getFiscalyear
+ CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear
Select