Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > Project Tools > osTicket Bug Tracker > Bug

Issue Type Bug   Project osTicket Bug Tracker
Internal Notes show wrong Department
On Department transfer, the Title of the Internal note created always lists a transfer from TargetDept -> TargetDept
Category Unknown
Affected Version 1.6 rc5
Priority Unknown
Status Fixed
Fixed Version 1.6 Stable
Submitted 01-29-2010
Assigned Users (none) Tags (none)

issueid=175 01-29-2010 05:27 AM
Junior Member
Internal Notes show wrong Department
On Department transfer, the Title of the Internal note created always lists a transfer from TargetDept -> TargetDept

This issue can easily be fixed: don't refresh the ticket until you have written the title of the note!

Issue in /scp/tickets.php.

Old code:
PHP Code:
$ticket->reload(); //dept manager changed!
                //Send out alerts?? - for now yes....part of internal note!
                
$title='Dept. Transfer: '.$ticket->getDeptName().' to '.Dept::getNameById($_POST['dept_id']);
                
$ticket->postNote($title,$_POST['message']);
                
$msg='Ticket Transfered Sucessfully'
fixed by:

PHP Code:
//Send out alerts?? - for now yes....part of internal note!
                
$title='Dept. Transfer: '.$ticket->getDeptName().' to '.Dept::getNameById($_POST['dept_id']);
                
$ticket->postNote($title,$_POST['message']);
                
$ticket->reload(); //dept manager changed!
                
$msg='Ticket Transfered Sucessfully'
Please make sure you integrate this in the next release!
Reply

01-30-2010 12:07 PM
Issue Changed by peter
  • Status changed from Unconfirmed to Fixed
  • Issue marked as addressed

Issue Tools
Subscribe to this issue

All times are GMT -4. The time now is 09:16 AM.