Update commonobject.class.php

add path class for support type project or projet in element_element
This commit is contained in:
oscim 2020-02-24 17:51:11 +01:00 committed by GitHub
parent 6c7a534018
commit 65f3e5466e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3392,7 +3392,7 @@ abstract class CommonObject
$classfile = 'subscription'; $classname = 'Subscription';
}
elseif ($objecttype == 'project' || $objecttype == 'projet') {
$classfile = 'project'; $classname = 'Project';
$classpath = 'projet/class'; $classfile = 'project'; $classname = 'Project';
}
// Here $module, $classfile and $classname are set