From a65bbaf109a90d6843a1fad803e4cd1edca524e2 Mon Sep 17 00:00:00 2001 From: Randall Mora <50120822+randallmoraes@users.noreply.github.com> Date: Fri, 21 Apr 2023 08:27:34 -0600 Subject: [PATCH] Fix 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 2eb77815b60..a4020d91e52 100644 --- a/htdocs/accountancy/admin/fiscalyear.php +++ b/htdocs/accountancy/admin/fiscalyear.php @@ -143,7 +143,7 @@ if ($result) { while ($i < $num && $i < $max) { $obj = $db->fetch_object($result); - $fiscalyearstatic->id = $obj->rowid; + $fiscalyearstatic->fetch($obj->rowid); print ''; print '';