Forgot tracking ID? With multiple email in ticket

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Forgot tracking ID? With multiple email in ticket

Post by lupolo »

Hello I have a problem with the option "Forgot tracking ID?" wenn a ticket have multiple emails in it seperated with a "'," it won't email this ticket to the customer.

What could I do to fix this?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Forgot tracking ID? With multiple email in ticket

Post by Klemen »

In index.php (the one in main help desk folder) try changing

Code: Select all

LIKE \''.hesk_dbEscape($email).'\'
to

Code: Select all

LIKE \'%'.hesk_dbEscape($email).'%\'
Be careful to change exactly this code (take special care of quotes).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
lupolo
Posts: 214
Joined: Mon Apr 20, 2009 2:12 pm

Re: Forgot tracking ID? With multiple email in ticket

Post by lupolo »

Worked, will this also be in the new version?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Forgot tracking ID? With multiple email in ticket

Post by Klemen »

Probably not, because this could lead to various issues. For example if customer A has e-mail address "doe@gmail.com" and customer B has "johndoe@gmail.com" and customer A wants to get his tickets he might get tickets from johndoe@gmail.com instead (because %doe@gmail.com% will also match johndoe@gmail.com in the database).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
southernmoney
Posts: 46
Joined: Sun May 10, 2009 3:44 pm

Re: Forgot tracking ID? With multiple email in ticket

Post by southernmoney »

Hi Klemen,

Any possibility perhaps to not allow more than one email address, but to provide a seperate slot for a alternative email address and then allow both to get all emails?

Regards.
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: Forgot tracking ID? With multiple email in ticket

Post by Klemen »

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply