Update commonobject.class.php
Add support of project/projet in objectlinked
This commit is contained in:
parent
b55f6f8658
commit
6c7a534018
@ -3391,6 +3391,9 @@ abstract class CommonObject
|
||||
elseif ($objecttype == 'subscription') {
|
||||
$classfile = 'subscription'; $classname = 'Subscription';
|
||||
}
|
||||
elseif ($objecttype == 'project' || $objecttype == 'projet') {
|
||||
$classfile = 'project'; $classname = 'Project';
|
||||
}
|
||||
|
||||
// Here $module, $classfile and $classname are set
|
||||
if ($conf->$module->enabled && (($element != $this->element) || $alsosametype))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user