added client creation and fixed assignment
This commit is contained in:
@ -30,7 +30,7 @@ case 'GET':
|
||||
$coaches = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
[$clause, $params] = rbac_client_filter($tokenRec);
|
||||
[$clause, $params] = rbac_client_filter($tokenRec, 'cl');
|
||||
$clientStmt = $pdo->prepare(
|
||||
"SELECT cl.clientCode, cl.coachID, co.username AS coachUsername
|
||||
FROM client cl
|
||||
|
||||
Reference in New Issue
Block a user