Fix: Introduce hidden option to disable feature than hangs when too much

data
This commit is contained in:
Laurent Destailleur 2016-02-27 19:12:45 +01:00
parent 193699a1b3
commit 6b7551c5d2

View File

@ -375,7 +375,7 @@ if (! empty($conf->global->PROJECT_TASK_TIME_YEAR))
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
if (empty($conf->global->PROJECT_HIDE_TASKS))
if (empty($conf->global->PROJECT_HIDE_TASKS) && empty($conf->global->PROJECT_HIDE_LIST_HOME_AREA))
{
// Get id of types of contacts for projects (This list never contains a lot of elements)
$listofprojectcontacttype=array();