Jump to content


Log ticket creation if ticket comes from offline web message

log

  • You cannot reply to this topic
No replies to this topic

#1 cvgro

    Member

  • Members
  • PipPip
  • 15 posts

Posted 15 April 2015 - 05:58 AM

Hello,

I found that the ticket auto-generated from offline message is creted in file objects.global.users.inc.php in function SaveTicket.
This function does not produce an entry in the log table and the ticket has no history in client window.

I put this for logging:

$ticket->Log(6,"extern",$ticket->Id,"");


    function SaveTicket($_group,$_country,$_cmb=false,$_custom=true,$_url="",$changed=false)
    {
        global $INPUTS,$CONFIG,$INTERNAL,$GROUPS;
.....
	    $group = $GROUPS[$_group];
        $ticket->Log(6,"extern",$ticket->Id,"");
.....

Any better choise instead of "extern"? Maybe a refference to an existing visitor/user/etc.?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users