From 29e68a1b8dcbe7c7ecb797396945e0cccf2d6cd8 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 5 Jun 2010 09:01:40 +0000 Subject: [PATCH] Rerun --- includes/date_functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/date_functions.inc b/includes/date_functions.inc index d83c612a..963cf361 100644 --- a/includes/date_functions.inc +++ b/includes/date_functions.inc @@ -162,8 +162,8 @@ function is_date_in_fiscalyear($date, $convert=false) global $path_to_root; include_once($path_to_root . "/admin/db/fiscalyears_db.inc"); - if ($_SESSION["wa_current_user"]->can_access(SA_FISCALYEAR)) // allow all open years for this one - return is_date_in_fixcalyears($date, false); + if ($_SESSION["wa_current_user"]->can_access('SA_FISCALYEARS')) // allow all open years for this one + return is_date_in_fiscalyears($date, false); $myrow = get_current_fiscalyear(); if ($myrow['closed'] == 1) return 0; -- 2.30.2