From ca5245a77188215d5966c35944807549e421f8aa Mon Sep 17 00:00:00 2001 From: Randall Mora <50120822+randallmoraes@users.noreply.github.com> Date: Fri, 21 Apr 2023 08:24:27 -0600 Subject: [PATCH] FIX reference id in getnomurl function. Fix the assignment of the period for the execution of the getnomurl function, executing the previous lookup of the period id. --- htdocs/accountancy/admin/fiscalyear.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/admin/fiscalyear.php b/htdocs/accountancy/admin/fiscalyear.php index 27226d388f6..6799057953d 100644 --- a/htdocs/accountancy/admin/fiscalyear.php +++ b/htdocs/accountancy/admin/fiscalyear.php @@ -144,7 +144,7 @@ if ($result) { while ($i < $num && $i < $max) { $obj = $db->fetch_object($result); - $fiscalyearstatic->id = $obj->rowid; + $fiscalyearstatic->fetch($obj->rowid); print '