The following patch adds a configuration item to manage if the "close ticket" box should selected by default or not in the reply form (adding a message to a ticket).
The developper choose to make it checked by default. My need is to have it unchecked by default to avoid closing a ticket by mistake, so there is clearly 2 point of view and this should definitively be configurable.
attached is the proposed patch against 1.6RC2
WARNING : adding a config option modify the database schema. the default schema has been updated for new installation. On an existing installation, you have to upgrade your database schema using the following mysql command before applying the patch :
ALTER TABLE `ost_config` ADD `close_box_checked` TINYINT UNSIGNED NOT NULL DEFAULT '1';
[closeTicketBoxConfigurable.patch.txt](https://forum.osticket.com/assets/files/migrated/f/982342c126c5f47bd8942b7510c238e.txt)