I do not know this for fact, but:
/open.php (Lines 33 - 50 for me)
if(!$errors && $cfg->allowOnlineAttachments() && $_FILES)
$vars = AttachmentFile:($_FILES, true);
//Ticket:...checks for errors..
if(($ticket=Ticket:($vars, $errors, SOURCE))){
$msg='Support ticket request created';
//Logged in...simply view the newly created ticket.
if($thisclient && $thisclient->isValid()) {
if(!$cfg->showRelatedTickets())
$_SESSION= $ticket->getExtId(); //Resetting login Key to the current ticket!
session_write_close();
session_regenerate_id();
<USERMENTION username="header">@header</USERMENTION>('Location: tickets.php?id='.$ticket->getExtId());
}
}else{
$errors=$errors?$errors:'Unable to create a ticket. Please correct errors below and try again!';
}
endif;
You could probably insert it in there.
Again, I am not certain though.