& turning into &

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

& turning into &

Post by mkoch227 »

Script URL: http://support.kandbconsult.com
Version of script: 2.3
Hosting company: Bluehost
URL of phpinfo.php: http://kandbconsult.com/phpinfo.php
URL of session_test.php: N/A
What terms did you try when SEARCHING for a solution: ampersand issues

Write your message below: My business name is "K & B Consulting". However, when e-mails send out, it magically becomes "K & B Consulting", which & is the HTML code for &. If I change it strictly back to & in the database, everything works fine, until I change a setting. Is there a way to stop HESK from changing & to &?
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: & turning into &

Post by Klemen »

I see what you mean.

Could you please try this:
1. open file "inc/email_functions.inc.php" in a text editor
2. just above this line:

Code: Select all

if (!$is_ticket)
paste this code

Code: Select all

$hesk_settings['site_title'] = hesk_msgToPlain($hesk_settings['site_title'], 1);
3. save, upload and test
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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: & turning into &

Post by mkoch227 »

Seems to be working properly. Thanks!

Code: Select all

Dear <name>,

Our staff has just replied to your ticket "TEST E-MAIL FORMATTING"

You can view the ticket here:
http://<link>


*DO NOT REPLY TO THIS E-MAIL*
This is an automated e-mail message sent from our support system. Do not reply to this e-mail as we won't receive your reply, use the link above for proper communication!

Yours sincerely,

K & B Consulting
http://kandbconsult.com
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply