Login_microsoft.php
Line 103 replace with:
$stmt = $mysqli->prepare("SELECT * FROM users LEFT JOIN contacts ON users.user_id = contacts.contact_user_id LEFT JOIN clients ON contacts.contact_client_id = clients.client_id WHERE user_email = ? AND user_archived_at IS NULL AND client_archived_at IS NULL AND user_type = 2 AND user_status = 1 LIMIT 1 "); $stmt->bind_param("s", $upn); $stmt->execute(); $sql = $stmt->get*result();
ticket_template.php
Line 8 replace with: require_once '../agent/post/ticket.php';
Line 9 replace with: require_once '../agent/post/task.php';
Thanks for all the hard work on this software. It is great. If I find anything else I will let you know.