Browse Source

Update admin_submit_ticket

master^2
Mike Koch 1 year ago
parent
commit
52b47075d9
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      admin/admin_submit_ticket.php

+ 5
- 0
admin/admin_submit_ticket.php View File

@@ -300,6 +300,11 @@ if (!$modsForHesk_settings['rich_text_for_tickets']) {
$tmpvar['message'] = nl2br($tmpvar['message']);
}

// Track who assigned the ticket
if ($tmpvar['owner'] > 0) {
$tmpvar['assignedby'] = !empty($autoassign_owner) ? -1 : $_SESSION['id'];
}

$tmpvar['latitude'] = hesk_POST('latitude', 'E-4');
$tmpvar['longitude'] = hesk_POST('longitude', 'E-4');


Loading…
Cancel
Save