diff --git a/suggest_email.php b/suggest_email.php index ad7cb6c2..f3fa5806 100644 --- a/suggest_email.php +++ b/suggest_email.php @@ -48,10 +48,13 @@ header("Pragma: no-cache"); // Get the search query composed of the subject and message $address = hesk_REQUEST('e') or die(''); +$email_field = hesk_REQUEST('ef') or die(''); +$display_div = hesk_REQUEST('dd') or die(''); +$pad_div = hesk_REQUEST('pd') ? 1 : 0; $div = 1; // Do we allow multiple emails? If yes, check all -if ($hesk_settings['multi_eml']) { +if ($hesk_settings['multi_eml'] || hesk_REQUEST('am')) { // Make sure the format is correct $address = preg_replace('/\s/', '', $address); $address = str_replace(';', ',', $address); @@ -75,9 +78,9 @@ exit(); function hesk_emailTypoShow($address, $suggest, $div = '') { - global $hesk_settings, $hesklang; + global $hesk_settings, $hesklang, $email_field, $display_div, $pad_div; ?> -
+
@@ -85,10 +88,8 @@ function hesk_emailTypoShow($address, $suggest, $div = '')
', $suggest . '')); ?>

- - + +