Merge pull request #13195 from oscim/patch-24

Update commonobject.class.php
This commit is contained in:
Laurent Destailleur 2020-02-26 05:14:27 +01:00 committed by GitHub
commit b7b2d3562b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);