From 25cedadb9bc6ef83e57c63dd39d3eb85e00dcbb9 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Mon, 19 Oct 2015 14:17:17 -0400 Subject: [PATCH] Switch from $ticket to $tmpvar --- inc/pipe_functions.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/pipe_functions.inc.php b/inc/pipe_functions.inc.php index 7fc16028..f36188c9 100755 --- a/inc/pipe_functions.inc.php +++ b/inc/pipe_functions.inc.php @@ -299,12 +299,12 @@ function hesk_email2ticket($results, $pop3 = 0, $set_category = 1, $set_priority $tmpvar[$k] = ''; } - $ticket['latitude'] = NULL; - $ticket['longitude'] = NULL; - $ticket['html'] = 0; - $ticket['user_agent'] = NULL; - $ticket['screen_resolution_width'] = NULL; - $ticket['screen_resolution_height'] = NULL; + $tmpvar['latitude'] = NULL; + $tmpvar['longitude'] = NULL; + $tmpvar['html'] = 0; + $tmpvar['user_agent'] = NULL; + $tmpvar['screen_resolution_width'] = NULL; + $tmpvar['screen_resolution_height'] = NULL; // Insert ticket to database $ticket = hesk_newTicket($tmpvar);