Code comment

This commit is contained in:
Laurent Destailleur
2023-08-09 13:29:19 +02:00
parent 33cc8e1ff9
commit b1f8c2fd29

View File

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