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);