From 83cbe024032aedfdf6d30c43dcdaabb5fb4e3d1f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 1 Aug 2023 17:55:14 +0200 Subject: [PATCH] Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 --- htdocs/core/class/commonobject.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 24015f230cc..7a29daf0c37 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -167,6 +167,10 @@ abstract class CommonObject * @var CommonObject To store a cloned copy of object before to edit it and keep track of old properties */ public $oldcopy; + /** + * @var CommonObject To store old value of a modified ref + */ + public $oldref; /** * @var string Column name of the ref field.