Fix: back to project page
This commit is contained in:
parent
2c364dbe8c
commit
4a3e4d6ec9
@ -133,8 +133,7 @@ if ($action == 'createtask' && $user->rights->projet->creer)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setEventMessage($task->error,'errors');
|
setEventMessages($task->error,$task->errors,'errors');
|
||||||
setEventMessage($task->errors,'errors');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,6 +149,7 @@ if ($action == 'createtask' && $user->rights->projet->creer)
|
|||||||
header("Location: ".DOL_URL_ROOT.'/projet/tasks/index.php'.(empty($mode)?'':'?mode='.$mode));
|
header("Location: ".DOL_URL_ROOT.'/projet/tasks/index.php'.(empty($mode)?'':'?mode='.$mode));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$id = $projectid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -168,6 +168,7 @@ if ($action == 'createtask' && $user->rights->projet->creer)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user