Merge branch '509-fix-reply-with-rich-text' into '3-0-4'
Allow customers to respond using rich text See merge request !41
This commit is contained in:
commit
4e438d9fd3
@ -62,12 +62,14 @@ $message = hesk_input(hesk_POST('message'));
|
||||
|
||||
// If the message was entered, further parse it
|
||||
$modsForHesk_settings = mfh_getSettings();
|
||||
if (strlen($message) && !$modsForHesk_settings['rich_text_for_tickets_for_customers']) {
|
||||
// Make links clickable
|
||||
$message = hesk_makeURL($message);
|
||||
if (strlen($message)) {
|
||||
if (!$modsForHesk_settings['rich_text_for_tickets_for_customers']) {
|
||||
// Make links clickable
|
||||
$message = hesk_makeURL($message);
|
||||
|
||||
// Turn newlines into <br />
|
||||
$message = nl2br($message);
|
||||
// Turn newlines into <br />
|
||||
$message = nl2br($message);
|
||||
}
|
||||
} else {
|
||||
$hesk_error_buffer[] = $hesklang['enter_message'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user