OSTicket - Access Denied Error.
The problem is that when a user make a ticket, when he wants to see his ticket progress.. appears the following message: Access Denied.
Solution :
try this
Open viewticket.php
Replace:-
Code:$client_permis = ($_SESSION[user][type] == "client" and $ticket_row[email] == $_SESSION[user][id]);
with:-
Code:$client_permis = ($_SESSION[user][type] == "client" and $ticket_row[email] == $_SESSION[pass][id]);
Regards,
Prafulla
|