Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

show ticket number instead of xxxxx after success create tick

hi . i want to change ticket xxxxx after success create ticket . How to do ?


thank

Comments

  • ok success . i fix by go to open.php 

    //    echo Format::safe_html($ticket->replaceVars(str_replace(
    //                    array('%{ticket.number}', '%{ticket.extId}', '%{ticket}'), //ticket number vars.
    //                    array_fill(0, 3, 'XXXXXX'),
    //                    $page->getBody()
    //                    )));
    //change like this below
        echo Format::safe_html($ticket->replaceVars(str_replace(
                        array('%{ticket.number}', '%{ticket.extId}', '%{ticket}'), //ticket number vars.
                        array_fill(0, 3, 'XXXXXX'),
                        $page->getBody()
                        )));
Sign In or Register to comment.