From 24d2e83be1dd3f1f13cc4d8b70bc674ea19b9f42 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 4 Aug 2025 11:15:06 +0200 Subject: [PATCH] Doc --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 713549b4e48..ce1107c0ba1 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -10807,7 +10807,7 @@ abstract class CommonObject if (array_key_exists('date_modification', $fieldvalues) && empty($fieldvalues['date_modification'])) { $fieldvalues['date_modification'] = $this->db->idate($now); } - if (getDolGlobalString('MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS') && array_key_exists('tms', $fieldvalues)) { + if (getDolGlobalString('MAIN_DISABLE_AUTO_UPDATE_OF_TMS_FIELDS') && array_key_exists('tms', $fieldvalues)) { // If we want the auto update of tms fields by database (deprecated, prefer by PHP code) $fieldvalues['tms'] = $this->db->idate($now); } if (array_key_exists('fk_user_modif', $fieldvalues) && !($fieldvalues['fk_user_modif'] > 0)) {