2
0
forked from Wavyzz/dolibarr

Merge remote-tracking branch 'upstream/develop' into clean_mod_code

This commit is contained in:
Frédéric France
2024-03-11 18:54:16 +01:00
23 changed files with 44 additions and 43 deletions

View File

@@ -270,8 +270,8 @@ class doc_generic_order_odt extends ModelePDFCommandes
// Get extension (ods or odt)
$newfileformat = substr($newfile, strrpos($newfile, '.') + 1);
if (getDolGlobalInt('MAIN_DOC_USE_TIMING')) {
$format = getDolGlobalInt('MAIN_DOC_USE_TIMING');
if (getDolGlobalString('MAIN_DOC_USE_TIMING')) {
$format = getDolGlobalString('MAIN_DOC_USE_TIMING');
if ($format == '1') {
$format = '%Y%m%d%H%M%S';
}