FIX: ODT generation very slow

This commit is contained in:
Laurent Destailleur 2021-02-09 22:02:48 +01:00
parent 032503f397
commit 3a9cf8eb7a
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ FIX: Trigger on expense report was not fired
FIX: User creation of expense report not visible
FIX: warning when adding a line if $remise_percent is an empty string
FIX: status late on purchase orders
FIX: ODT generation very slow
***** ChangeLog for 13.0.0 compared to 12.0.0 *****

View File

@ -138,6 +138,7 @@ class Odf
if (strpos($this->contentXml, $tag) === false && strpos($this->stylesXml, $tag) === false) {
// Add the throw only for development. In most cases, it is normal to not having the key into the document (only few keys are presents).
//throw new OdfException("var $key not found in the document");
return $this;
}
$this->vars[$tag] = $this->convertVarToOdf($value, $encode, $charset);