update code
This commit is contained in:
parent
6fc7c9bca8
commit
886cb4f083
@ -186,7 +186,7 @@ function project_prepare_head(Project $project, $moreparam = '')
|
||||
if (!empty($conf->tax->enabled)) {
|
||||
$nbElements += $project->getElementCount('chargesociales', 'chargesociales');
|
||||
}
|
||||
if (!empty($conf->project->enabled)) {
|
||||
if (isModEnabled('project')) {
|
||||
$nbElements += $project->getElementCount('project_task', 'projet_task');
|
||||
}
|
||||
if (!empty($conf->stock->enabled)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user