From b1f8c2fd2951aa4b48768b797fae4800a4310eb0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 9 Aug 2023 13:29:19 +0200 Subject: [PATCH] Code comment --- htdocs/core/class/commonobject.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 620ea8a2ef2..f42aa953ff5 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -3892,6 +3892,7 @@ abstract class CommonObject // Important for pdf generation time reduction // This boolean is true if $this->linkedObjects has already been loaded with all objects linked without filter + // If you need to force the reload, you can call clearObjectLinkedCache() before calling fetchObjectLinked() if ($this->id > 0 && !empty($this->linkedObjectsFullLoaded[$this->id])) { return 1; }