Fix / New : return on project page after task deletion instead of task list
This commit is contained in:
parent
dae7f8643b
commit
3269b463bb
@ -110,7 +110,7 @@ if ($action == 'confirm_delete' && $confirm == "yes" && $user->rights->projet->s
|
|||||||
|
|
||||||
if ($object->delete($user) > 0)
|
if ($object->delete($user) > 0)
|
||||||
{
|
{
|
||||||
header("Location: index.php");
|
header('Location: '.DOL_URL_ROOT.'/projet/tasks.php?id='.$projectstatic->id);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user