I am attemlting to edit the php of tickets.php or tickets.inc.php on client side.
I would like to add some php code to one or both of these files that only show open/answered tickets to the user but blocks viewing of the users closed tickets.
somthing like Exp: "does not work"
require_once(INCLUDE_DIR.'class.ticket.php');
if(!is_object($ticket) || !$ticket_id->isClosed()) die('This ticket has been closed, Please open a new ticket.'); //Double check again.