Skip to content

Commit 6826ea8

Browse files
committed
fix(issue): redirect ticket to issue only in service catalog
1 parent 7b22300 commit 6826ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ function plugin_formcreator_redirect() {
424424
}
425425

426426
if (strpos($_SERVER['REQUEST_URI'], "front/ticket.form.php") !== false) {
427-
if (!isset($_POST['update'])) {
427+
if (!isset($_POST['update']) && plugin_formcreator_replaceHelpdesk() ) {
428428
$decodedUrl = [];
429429
$openItilFollowup = '';
430430
if (isset($_GET['_openfollowup'])) {

0 commit comments

Comments
 (0)