I hear ya!!
index.php submits to login.php.
Open login.php to make the changes
On about line 65 the magic takes place to show tickets.php, but we want view.php?id=$ticketID
Comment out this line:
@header("Location: tickets.php");
Add this:
@header("Location: view.php?id=$ticketID");