diff --git a/htdocs/projet/tasks/index.php b/htdocs/projet/tasks/index.php index 0429c9da1bd..8edb2c6f71e 100644 --- a/htdocs/projet/tasks/index.php +++ b/htdocs/projet/tasks/index.php @@ -126,7 +126,7 @@ print ''; print ''; print "\n"; -if (count($tasksarray) > 1000) +if (count($tasksarray) > (empty($conf->global->PROJECT_MAX_NB_TASKS)?1000:$conf->global->PROJECT_MAX_NB_TASKS)) { print ''; print '';