diff --git a/htdocs/html.formother.class.php b/htdocs/html.formother.class.php index b717cfb914c..ff7d27eae29 100644 --- a/htdocs/html.formother.class.php +++ b/htdocs/html.formother.class.php @@ -241,7 +241,7 @@ class FormOther * \param modetask 1 to restrict on tasks associated to user * \param mode 0=Return list of tasks and their projects, 1=Return projects and tasks if exists */ - function selectProjectTasks($selected='', $projectid=0, $htmlname='task_parent', $modeproject=0, $modetask=0, $mode=0) + function selectProjectTasks($selected='', $projectid=0, $htmlname='task_parent', $modeproject=0, $modetask=0, $mode=0, $useempty=0) { global $user, $langs; @@ -253,7 +253,7 @@ class FormOther if ($tasksarray) { print '