forked from Wavyzz/dolibarr
Merge remote-tracking branch 'upstream/develop' into clean_mod_code
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user