Skip to content

Commit

Permalink
fixup! Fix scope - only tickets are affected
Browse files Browse the repository at this point in the history
  • Loading branch information
keguira authored Dec 9, 2024
1 parent 6207c6e commit 88d7d9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ function plugin_init_escalade()

// on ticket page (in edition)
if (
(strpos($_SERVER['REQUEST_URI'] ?? '', "ticket.form.php") !== false
|| strpos($_SERVER['REQUEST_URI'] ?? '', "problem.form.php") !== false
|| strpos($_SERVER['REQUEST_URI'] ?? '', "change.form.php") !== false) && isset($_GET['id'])
(strpos($_SERVER['REQUEST_URI'] ?? '', "ticket.form.php") !== false) && isset($_GET['id'])
) {
if (
!$escalade_config['remove_delete_requester_user_btn']
Expand Down

0 comments on commit 88d7d9c

Please sign in to comment.