Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to close ticket. #18

Open
ivonpint opened this issue May 11, 2023 · 0 comments
Open

Fix to close ticket. #18

ivonpint opened this issue May 11, 2023 · 0 comments

Comments

@ivonpint
Copy link

Please modify class.ticket.php

lines 411- 416 Add the close timestamp to the ticket for it to display in the close ticket menu and list.

// Update ticket status
$ticketStatusUpdate = 'update '.TABLE_PREFIX.'ticket SET ';
$ticketStatusUpdate .= 'status_id = '.$parameters["parameters"]["status_id"].', ';
$ticketStatusUpdate .= 'closed = CURRENT_TIMESTAMP, ';
$ticketStatusUpdate .= 'updated = now() WHERE ';
$ticketStatusUpdate .= 'ticket_id = '.$parameters["parameters"]["ticket_id"].'';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant