From 6826ea86a022bfcd29f8dd8842c26c49a7dfc756 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 26 May 2022 08:33:08 +0200 Subject: [PATCH] fix(issue): redirect ticket to issue only in service catalog --- setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.php b/setup.php index 4d55dfe33..aa9069854 100644 --- a/setup.php +++ b/setup.php @@ -424,7 +424,7 @@ function plugin_formcreator_redirect() { } if (strpos($_SERVER['REQUEST_URI'], "front/ticket.form.php") !== false) { - if (!isset($_POST['update'])) { + if (!isset($_POST['update']) && plugin_formcreator_replaceHelpdesk() ) { $decodedUrl = []; $openItilFollowup = ''; if (isset($_GET['_openfollowup'])) {