#326 Update pipe_functions to include user agent

This commit is contained in:
Mike Koch 2015-09-06 22:14:58 -04:00
parent 52ba392050
commit f899f3dc31

View File

@ -339,6 +339,13 @@ function hesk_email2ticket($results, $pop3 = 0, $set_category = 1, $set_priority
$tmpvar[$k] = ''; $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 // Insert ticket to database
$ticket = hesk_newTicket($tmpvar); $ticket = hesk_newTicket($tmpvar);