forked from Wavyzz/dolibarr
Code comment
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user