diff --git a/admin/profile.php b/admin/profile.php
index e784edad..aea18c18 100644
--- a/admin/profile.php
+++ b/admin/profile.php
@@ -256,6 +256,14 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
+
@@ -412,6 +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;
/* Any errors? */
if (strlen($hesk_error_buffer))
@@ -441,7 +450,8 @@ function update_profile() {
`notify_reply_my`='".intval($_SESSION['new']['notify_reply_my'])."' ,
`notify_assigned`='".intval($_SESSION['new']['notify_assigned'])."' ,
`notify_pm`='".intval($_SESSION['new']['notify_pm'])."',
- `notify_note`='".intval($_SESSION['new']['notify_note'])."'
+ `notify_note`='".intval($_SESSION['new']['notify_note'])."',
+ `default_notify_customer_email`='".intval($_SESSION['new']['default_notify_customer_email'])."'
WHERE `id`='".intval($_SESSION['id'])."' LIMIT 1"
);
diff --git a/language/en/text.php b/language/en/text.php
index 9ec28540..e1824e3e 100644
--- a/language/en/text.php
+++ b/language/en/text.php
@@ -34,6 +34,8 @@ $hesklang['user_deactivated'] = 'User has been deactivated';
$hesklang['active_user'] = 'Is active user';
$hesklang['self_deactivation'] = 'You cannot deactivate yourself!';
$hesklang['inactive_user'] = 'Your account is currently inactive. Contact an administrator for more information.';
+$hesklang['notify_customer_email'] = 'Emails to customer on reply';
+$hesklang['notify_customer_email_text'] = 'Don\'t send email notifications of replies to the customer by default';
// ADDED OR MODIFIED IN NuMods 1.4.0
$hesklang['numods'] = 'NuMods';