diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index ed4601295c6..916f2cbcd9a 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -481,6 +481,8 @@ class FormOther { $var = !$var; + //var_dump($selectedtask."--".$selectedtask."--".$lines[$i]->fk_project."_".$lines[$i]->id); + // Break on a new project if ($parent == 0) { @@ -508,10 +510,10 @@ class FormOther } // Print task - if ($lines[$i]->id > 0) + if ($lines[$i]->id >= 0) { print '