Merge pull request #13190 from oscim/patch-23
Update commonobject.class.php
This commit is contained in:
commit
59137f0f47
@ -3391,6 +3391,9 @@ abstract class CommonObject
|
|||||||
elseif ($objecttype == 'subscription') {
|
elseif ($objecttype == 'subscription') {
|
||||||
$classfile = 'subscription'; $classname = 'Subscription';
|
$classfile = 'subscription'; $classname = 'Subscription';
|
||||||
}
|
}
|
||||||
|
elseif ($objecttype == 'project' || $objecttype == 'projet') {
|
||||||
|
$classpath = 'projet/class'; $classfile = 'project'; $classname = 'Project';
|
||||||
|
}
|
||||||
|
|
||||||
// Here $module, $classfile and $classname are set
|
// Here $module, $classfile and $classname are set
|
||||||
if ($conf->$module->enabled && (($element != $this->element) || $alsosametype))
|
if ($conf->$module->enabled && (($element != $this->element) || $alsosametype))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user