From 034d6d8174b279fd2a80b6f86558f2e0635763dd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 29 Feb 2024 19:54:41 +0100 Subject: [PATCH] Fix bad property name --- 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 a85f2485179..be8f26bbd47 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -9737,7 +9737,7 @@ abstract class CommonObject } if (array_key_exists('user_creation_id', $fieldvalues) && !($fieldvalues['user_creation_id'] > 0)) { $fieldvalues['user_creation_id'] = $user->id; - $this->user_modification_id = $user->id; + $this->user_creation_id = $user->id; } if (array_key_exists('pass_crypted', $fieldvalues) && property_exists($this, 'pass')) { $fieldvalues['pass_crypted'] = dol_hash($this->pass);