@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
$all_users = get_all_users($db);
|
$all_users = get_all_users($db);
|
||||||
|
|
||||||
function get_req_subs($uuid) {
|
function get_req_subs($db, $uuid) {
|
||||||
$stmt = "SELECT * FROM ticket_subscribers WHERE ticket_uuid=:uuid";
|
$stmt = "SELECT * FROM ticket_subscribers WHERE ticket_uuid=:uuid";
|
||||||
$sql = $db->prepare($stmt);
|
$sql = $db->prepare($stmt);
|
||||||
$sql->bindParam(':uuid', $uuid);
|
$sql->bindParam(':uuid', $uuid);
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
$subs = get_req_subs($request['uuid'])
|
$subs = get_req_subs($db, $request['uuid'])
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user