Hello,
I don;t want my client close tickets.
I created a hook but it doesn't work
function my_ticket_hide_close_button (){
global $smarty;
$smarty->assign('showclosebutton',false);
if($_REQUEST['closeticket']){
$smarty->assign('errormessage','This Ticket can be closed only by Support Staff!');
}
}
add_hook("ClientAreaPage",0,"my_ticket_hide_close_button");
Please help me