diff --git a/app/public/actions/delsub.php b/app/public/actions/delsub.php index b7f14b8..a279600 100644 --- a/app/public/actions/delsub.php +++ b/app/public/actions/delsub.php @@ -9,9 +9,7 @@ // Remove subscriber(s) if ($is_authorised == true) { if($_SERVER['REQUEST_METHOD'] == 'POST') { - echo($_POST['addSubSelector']); - die(); - foreach ($_POST['addSubSelector'] as $sub) { + foreach ($_POST['addSubSelector[]'] as $sub) { try { $stmt = "DELETE FROM ticket_subscribers WHERE ticket_uuid=:tktuuid AND user_uuid=:usruuid"; $sql = $db->prepare($stmt); diff --git a/app/public/view.php b/app/public/view.php index 0c23fa0..e30403d 100644 --- a/app/public/view.php +++ b/app/public/view.php @@ -50,14 +50,14 @@
-- Update the request - Add attachment(s) - + Manage subscribers + + Update the request + Add attachment(s) + +
- Manage subscribers -