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