From 3269b463bbff82f87fe5613433b7164d8bd1ca2f Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Tue, 24 Jun 2014 15:02:09 +0200 Subject: [PATCH] Fix / New : return on project page after task deletion instead of task list --- htdocs/projet/tasks/task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php index dd83cf57d8f..0b3e98e94e0 100644 --- a/htdocs/projet/tasks/task.php +++ b/htdocs/projet/tasks/task.php @@ -110,7 +110,7 @@ if ($action == 'confirm_delete' && $confirm == "yes" && $user->rights->projet->s if ($object->delete($user) > 0) { - header("Location: index.php"); + header('Location: '.DOL_URL_ROOT.'/projet/tasks.php?id='.$projectstatic->id); exit; } else