diff -Nru osticket_1.6.rc2/upload/include/class.ticket.php osticket_1.6.rc2-patch2/upload/include/class.ticket.php --- osticket_1.6.rc2/upload/include/class.ticket.php 2008-01-01 04:40:46.000000000 +0100 +++ osticket_1.6.rc2-patch2/upload/include/class.ticket.php 2008-01-24 08:40:47.000000000 +0100 @@ -398,6 +398,7 @@ 2) Send alerts to new Dept manager/members?? 3) Other crap I don't have time to think about at the moment. */ + $this->setStaffId(0); // unaffect the ticket as well... return $this->setDeptId($deptId)?true:false; } diff -Nru osticket_1.6.rc2/upload/scp/tickets.php osticket_1.6.rc2-patch2/upload/scp/tickets.php --- osticket_1.6.rc2/upload/scp/tickets.php 2008-01-01 04:40:46.000000000 +0100 +++ osticket_1.6.rc2-patch2/upload/scp/tickets.php 2008-01-24 08:54:00.000000000 +0100 @@ -105,7 +105,9 @@ //Send out alerts?? $title='Dept. Transfer: '.$ticket->getDeptName().' to '.Dept::getNameById($_POST['dept_id']); $ticket->postNote($title,$_POST['message']); + $page='tickets.inc.php'; //ticket is gone...go back to the listing. $msg='Ticket Transfered Sucessfully'; + $ticket=null; //clear the object. }else{ $errors['err']=$errors['err']?$errors['err']:'Unable to complete the transfer'; }