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; }