Merge pull request #13195 from oscim/patch-24
Update commonobject.class.php
This commit is contained in:
commit
b7b2d3562b
@ -3369,6 +3369,9 @@ abstract class CommonObject
|
|||||||
elseif ($objecttype == 'subscription') {
|
elseif ($objecttype == 'subscription') {
|
||||||
$classpath = 'adherents/class'; $module = 'adherent';
|
$classpath = 'adherents/class'; $module = 'adherent';
|
||||||
}
|
}
|
||||||
|
elseif ($objecttype == 'contact') {
|
||||||
|
$module = 'societe';
|
||||||
|
}
|
||||||
|
|
||||||
// Set classfile
|
// Set classfile
|
||||||
$classfile = strtolower($subelement); $classname = ucfirst($subelement);
|
$classfile = strtolower($subelement); $classname = ucfirst($subelement);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user