removed hardcoded values

This commit is contained in:
2018-08-11 23:59:59 +05:30
parent b5c998846e
commit 04a78b6e3b
4 changed files with 20 additions and 8 deletions

View File

@ -26,7 +26,7 @@ class CRM_Grant_Page_AnnualBudgets extends CRM_Core_Page_Basic {
* Browse all Grant Budget.
*/
public function browse() {
$fiscalYear = NULL;
$fiscalYear = CRM_Utils_Request::retrieve('fiscalYears', 'Positive');
if (empty($fiscalYear)) {
$fiscalYear = date('Y');
}