change small syntax issues

This commit is contained in:
2020-07-02 10:35:56 +02:00
parent 8d0a9e6fac
commit a2d5dbf6aa
7 changed files with 30 additions and 105 deletions

View File

@ -139,8 +139,8 @@ abstract class pdfdocumentsGeneric extends Base implements genericInterface
public function setSmartyVars($iSelLang)
{
unset($iSelLang);
$this->oSmarty->assign('oConfig', Registry::getSession()->getConfig());
$this->oSmarty->assign('oViewConf', Registry::getSession()->getConfig()->getActiveView()->getViewConfig());
$this->oSmarty->assign('config', Registry::getSession()->getConfig());
$this->oSmarty->assign('viewConfig', Registry::getSession()->getConfig()->getActiveView()->getViewConfig());
$this->oSmarty->assign('shop', Registry::getSession()->getConfig()->getActiveShop());
$this->oSmarty->assign('lang', Registry::getLang());
$this->oSmarty->assign('document', $this);