diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index 43dd997c..6097bbf7 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -1364,7 +1364,7 @@ function hesk_printReplyForm() {

-

+

diff --git a/admin/profile.php b/admin/profile.php index aea18c18..7fad65db 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -260,7 +260,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
- +
@@ -420,7 +420,7 @@ function update_profile() { $_SESSION['new']['notify_assigned'] = empty($_POST['notify_assigned']) ? 0 : 1; $_SESSION['new']['notify_note'] = empty($_POST['notify_note']) ? 0 : 1; $_SESSION['new']['notify_pm'] = empty($_POST['notify_pm']) ? 0 : 1; - $_SESSION['new']['default_notify_customer_email'] = empty($_POST['default_notify_customer_email']) ? 0 : 1; + $_SESSION['new']['default_notify_customer_email'] = empty($_POST['default_notify_customer_email']) ? 1 : 0; /* Any errors? */ if (strlen($hesk_error_buffer)) diff --git a/install/updateTo1-5-0.php b/install/updateTo1-5-0.php index 06cb8f95..b283807a 100644 --- a/install/updateTo1-5-0.php +++ b/install/updateTo1-5-0.php @@ -6,7 +6,7 @@ require(HESK_PATH . 'hesk_settings.inc.php'); hesk_dbConnect(); hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `active` ENUM('0', '1') NOT NULL DEFAULT '1'"); hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `can_manage_settings` ENUM('0', '1') NOT NULL DEFAULT '1'"); -hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `default_notify_customer_email` ENUM ('0', '1') NOT NULL DEFAULT '0'"); +hesk_dbQuery("ALTER TABLE `".hesk_dbEscape($hesk_settings['db_pfix'])."users` ADD COLUMN `default_notify_customer_email` ENUM ('0', '1') NOT NULL DEFAULT '1'"); ?>

Update complete!