Add the ability to Create a ticket inside a project then auto assign it to the project

This commit is contained in:
johnnyq
2025-03-20 17:05:47 -04:00
parent 62b8ee9d30
commit ad3ed68932
4 changed files with 32 additions and 10 deletions

View File

@@ -189,7 +189,7 @@ if (isset($_GET['delete_project'])) {
header("Location: " . $_SERVER["HTTP_REFERER"]);
}
if (isset($_POST['add_project_ticket'])) {
if (isset($_POST['link_ticket_to_project'])) {
enforceUserPermission('module_support', 2);
$project_id = intval($_POST['project_id']);