Fixed Error handling

This commit is contained in:
Andreas Österreicher
2018-03-19 08:41:53 +01:00
parent 5f9abccaeb
commit 5a735d3987
+2 -3
View File
@@ -326,6 +326,8 @@ if (!isset($_REQUEST["archive"]))
if ($dokument->create($output))
$dokument->output();
else
echo $dokument->errormsg;
$dokument->close();
}
@@ -394,9 +396,6 @@ else
$dokument->setFilename($filename);
if (!$dokument->create($output))
die($dokument->errormsg);
$error = false;
// Beim Archivieren wird das Dokument immer signiert wenn moeglich