Quantcast
Channel: Mods and Customizations Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 296

1.10 Stable - Changing Ticket Source

$
0
0
I need to chanege the source option in 1.10 stable

I researched past methods to change sources and none seemed to apply to the current version.
I began to read through the code and changed include\class.ticket.php

Lines 142-157:

   // Ticket Sources
    static protected $sources =  array(
            'Driver' =>
            /* @trans */ 'Driver',
            'Mechanic' =>
            /* @trans */ 'Mechanic',

            'Employee' =>
            /* @trans */ 'Employee',
            'API' =>
            /* @trans */ 'API',
            'External' =>
            /* @trans */ 'External',
            'DOT' =>
            /* @trans */ 'DOT',
            );

Moved it back to the server and tried to create a ticket.
The good news - nothing broke; The bad news it prints blank under the new ticket.

Does anyone have any insight into what I need to change to actually include the source entry?

Viewing all articles
Browse latest Browse all 296