Hesk: 2.4.1
I have a number of custom fields. One of them is being converted to a hyperlink when it should not be.
The field requests a version number. Entering "3.1.3.6" displays on the ticket as "http://3.1.3.6" (hyperlinked)
It is a standard text field. I have other fields requesting data in the same format but they work correctly. Only the first custom field is being formatted incorrectly.
Enable: Yes
Type: Text Field
Required: Yes
Field Name: Windows app version
Location: Before Message
Any ideas on how to fix?
Thanks.
Custom field is being converted to a hyperlink
Moderator: mkoch227
Re: Custom field is being converted to a hyperlink
The URL parser thinks 3.1.3.6 is an IP address hence it's converted into a hyperlink.
To fix this open "submit_ticket.php" in a HTML editor and delete first two lines containing
Delete just the first two lines containing this code, the last (third) occurrence of hesk_makeURL should be left intact.
To fix this open "submit_ticket.php" in a HTML editor and delete first two lines containing
Code: Select all
hesk_makeURL
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Custom field is being converted to a hyperlink
Deleting the lines made it complain that the fields were empty (when they were not).
Luckily i only commented out the lines. I fixed it by removing the "hesk_makeURL" from the lines you specified.
Luckily i only commented out the lines. I fixed it by removing the "hesk_makeURL" from the lines you specified.