mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
Merge remote-tracking branch 'upstream/develop' into clean_mod_code
This commit is contained in:
@@ -262,8 +262,8 @@ class doc_generic_reception_odt extends ModelePdfReception
|
||||
//$file=$dir.'/'.$newfiletmp.'.'.dol_print_date(dol_now(),'%Y%m%d%H%M%S').'.odt';
|
||||
// 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