fix multiple documents at once

when generating several documents in a common call (e.g. order manager task), the contents of the later documents are appended to the earlier ones
This commit is contained in:
Daniel Seifert 2023-05-09 12:10:45 +02:00
parent 88e3af9a51
commit 34498edfa4
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F

View File

@ -48,7 +48,7 @@ abstract class pdfdocumentsGeneric extends Base implements genericInterface
parent::__construct();
/** @var Smarty $oSmarty */
$this->oSmarty = Registry::getUtilsView()->getSmarty();
$this->oSmarty = Registry::getUtilsView()->getSmarty(true);
}
public function runPreAction()