@@ -6,9 +6,11 @@
|
||||
$authorised_users = get_subscribers($db, $request);
|
||||
$is_authorised = isAuthorised($_SESSION['uuid'], $authorised_users, $request);
|
||||
|
||||
// Add subscriber
|
||||
// Remove subscriber(s)
|
||||
if ($is_authorised == true) {
|
||||
if($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
echo($_POST['addSubSelector']);
|
||||
die();
|
||||
foreach ($_POST['addSubSelector'] as $sub) {
|
||||
try {
|
||||
$stmt = "DELETE FROM ticket_subscribers WHERE ticket_uuid=:tktuuid AND user_uuid=:usruuid";
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<section class="jumbotron text-center">
|
||||
<div class="container">
|
||||
<h1>Open requests</h1>
|
||||
<h1>Existing requests</h1>
|
||||
<p class="lead text-muted">
|
||||
Here you can find all of your requests, and other requests that you are subscribed to.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user