diff --git a/www/pages/rechnung.php b/www/pages/rechnung.php index 35cba5b1..39b986b4 100644 --- a/www/pages/rechnung.php +++ b/www/pages/rechnung.php @@ -1378,7 +1378,7 @@ class Rechnung extends GenRechnung $smarty = new Smarty; $directory = $this->app->erp->GetTMP().'/smarty/templates'; $smarty->setCompileDir($directory); - $smarty->assign('rechnung', $output); + $smarty->assign('rechnung', $result); $output = $smarty->fetch('string:'.$template); } }