From fd08708d6a4880902c97164645e5911f3b49291d Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Wed, 10 Sep 2025 11:50:46 +0200 Subject: [PATCH] Doc --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 10d82b5683d..83fc72ccd46 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1680,7 +1680,7 @@ function dol_get_object_properties($obj, $properties = []) /** * Create a clone of instance of object (new instance with same value for each properties) - * With native = 0: Property that are references are different memory area in the new object (full isolation clone). This means $this->object of new object may not be valid (except this->db that is voluntarly kept). + * With native = 0: Property that are references are different memory area in the new object (full isolation clone). This means $this->objectproperty of the new object may not be valid (except this->db that is voluntarly kept). * With native = 1: Use PHP clone. Property that are reference are same pointer. This means $this->db of new object is still valid but point to same this->db than original object. * With native = 2: Property that are reference are different memory area in the new object (full isolation clone). Only scalar and array values are cloned. This means method are not availables and $this->db of new object is not valid. *