X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdate_functions.inc;h=c06dc4d323a8882e61726edd6894e09b11d33ee3;hb=7fd6f0b781ed41d099f352ebdc2bbc0ee46750c6;hp=963cf361df2fa84c8f3b7cdaa7544e6fa1e86963;hpb=29e68a1b8dcbe7c7ecb797396945e0cccf2d6cd8;p=fa-stable.git diff --git a/includes/date_functions.inc b/includes/date_functions.inc index 963cf361..c06dc4d3 100644 --- a/includes/date_functions.inc +++ b/includes/date_functions.inc @@ -162,7 +162,7 @@ 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_FISCALYEARS')) // allow all open years for this one + if ($_SESSION["wa_current_user"]->can_access('SA_MULTIFISCALYEARS')) // allow all open years for this one return is_date_in_fiscalyears($date, false); $myrow = get_current_fiscalyear(); if ($myrow['closed'] == 1)