mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Removed deprecated property ->projet (replace with ->project)
This commit is contained in:
@@ -10314,8 +10314,6 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
|
||||
$project = null;
|
||||
if (!empty($object->project)) {
|
||||
$project = $object->project;
|
||||
} elseif (!empty($object->projet)) { // Deprecated, for backward compatibility
|
||||
$project = $object->projet;
|
||||
}
|
||||
if (!is_null($project) && is_object($project)) {
|
||||
$substitutionarray['__PROJECT_ID__'] = $project->id;
|
||||
|
||||
Reference in New Issue
Block a user