Fix / New : return on project page after task deletion instead of task list

This commit is contained in:
Maxime Kohlhaas 2014-06-24 15:02:09 +02:00
parent dae7f8643b
commit 3269b463bb

View File

@ -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