From 241ae7a4d1f0d60656c7179bb758b106a326de12 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 Mar 2014 20:53:47 +0100 Subject: [PATCH] Fix: Miscellaneous bugs on tasks management Conflicts: htdocs/core/lib/project.lib.php --- htdocs/core/class/html.formother.class.php | 6 ++++-- htdocs/core/lib/project.lib.php | 13 ++++++------- htdocs/projet/tasks.php | 20 +++++++++----------- htdocs/projet/tasks/time.php | 19 +++++++++++-------- 4 files changed, 30 insertions(+), 28 deletions(-) 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 '