From d62b9fc853b7619fe3c9ddaf39e2b07643389b5d Mon Sep 17 00:00:00 2001 From: kindlm Date: Thu, 17 Sep 2015 15:45:53 +0200 Subject: [PATCH] Meldung, wenn keine Vorlage im System --- content/pdfExport.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/pdfExport.php b/content/pdfExport.php index b337c52e5..d3b7430d1 100644 --- a/content/pdfExport.php +++ b/content/pdfExport.php @@ -176,6 +176,9 @@ else $xsl_content = $vorlage->text; +if($xsl_content=='') + die('Für diese Organisationseinheit ist keine Vorlage im System hinterlegt'); + //Berechtigung pruefen if($xsl=='AccountInfo') {