diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index aec3884ac15..a78c43fca60 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 '