diff --git a/htdocs/projet/tasks/index.php b/htdocs/projet/tasks/index.php index e3dac2b2e85..d61198c8183 100644 --- a/htdocs/projet/tasks/index.php +++ b/htdocs/projet/tasks/index.php @@ -33,7 +33,7 @@ $langs->load('projects'); $langs->load('users'); $id=GETPOST('id','int'); -$search_product=GETPOST('search_product'); +$search_project=GETPOST('search_project'); // Security check @@ -85,7 +85,7 @@ $projectsListId = $projectstatic->getProjectsAuthorizedForUser($user,$mine,1,$so // Get list of tasks in tasksarray and taskarrayfiltered // We need all tasks (even not limited to a user because a task to user can have a parent that is not affected to him). -$tasksarray=$taskstatic->getTasksArray(0, 0, $projectstatic->id, $socid, 0, $search_product); +$tasksarray=$taskstatic->getTasksArray(0, 0, $projectstatic->id, $socid, 0, $search_project); // We load also tasks limited to a particular user $tasksrole=($mine ? $taskstatic->getUserRolesForProjectsOrTasks(0,$user,$projectstatic->id,0) : ''); @@ -106,7 +106,7 @@ print "\n"; print '