From fe4bd46c43592bd72fd76438f03cc0c9e6a4bec6 Mon Sep 17 00:00:00 2001 From: oscim Date: Mon, 24 Feb 2020 17:28:25 +0100 Subject: [PATCH] Update commonobject.class.php add support of contact linkedobject --- htdocs/core/class/commonobject.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 80e9f4c8ab4..1ddb5f20d56 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -3369,6 +3369,9 @@ abstract class CommonObject elseif ($objecttype == 'subscription') { $classpath = 'adherents/class'; $module = 'adherent'; } + elseif ($objecttype == 'contact') { + $module = 'societe'; + } // Set classfile $classfile = strtolower($subelement); $classname = ucfirst($subelement);