Page 1 of 1

Forgot tracking ID? With multiple email in ticket

Posted: Wed Sep 29, 2010 1:38 pm
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?

Re: Forgot tracking ID? With multiple email in ticket

Posted: Wed Sep 29, 2010 5:43 pm
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).

Re: Forgot tracking ID? With multiple email in ticket

Posted: Fri Oct 01, 2010 6:43 am
by lupolo
Worked, will this also be in the new version?

Re: Forgot tracking ID? With multiple email in ticket

Posted: Fri Oct 01, 2010 12:42 pm
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).

Re: Forgot tracking ID? With multiple email in ticket

Posted: Fri Oct 08, 2010 3:53 pm
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.

Re: Forgot tracking ID? With multiple email in ticket

Posted: Sun Oct 10, 2010 9:22 am
by Klemen