From f899f3dc31aef0fb8dbcaa44146c036228b01fae Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 6 Sep 2015 22:14:58 -0400 Subject: [PATCH] #326 Update pipe_functions to include user agent --- inc/pipe_functions.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/pipe_functions.inc.php b/inc/pipe_functions.inc.php index a3115782..8a27f54c 100755 --- a/inc/pipe_functions.inc.php +++ b/inc/pipe_functions.inc.php @@ -339,6 +339,13 @@ 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; + // Insert ticket to database $ticket = hesk_newTicket($tmpvar);