Update commonobject.class.php
add support of contact linkedobject
This commit is contained in:
parent
b55f6f8658
commit
fe4bd46c43
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user