mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 10:03:00 +01:00
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
This commit is contained in:
@@ -474,7 +474,7 @@ class doc_generic_myobject_odt extends ModelePDFMyObject
|
||||
$reshook = $hookmanager->executeHooks('beforeODTSave', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||
|
||||
// Write new file
|
||||
if (getDolGlobalInt('MAIN_ODT_AS_PDF')) {
|
||||
if (getDolGlobalString('MAIN_ODT_AS_PDF')) {
|
||||
try {
|
||||
$odfHandler->exportAsAttachedPDF($file);
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user