aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/settings/messaging.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/messaging.php')
-rw-r--r--app/controllers/settings/messaging.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/messaging.php b/app/controllers/settings/messaging.php
index ec54696..d771f3c 100644
--- a/app/controllers/settings/messaging.php
+++ b/app/controllers/settings/messaging.php
@@ -53,7 +53,7 @@ class Settings_MessagingController extends Settings_SettingsController
$this->user->smsforward_copy = 0;
}
- $this->user->email_forward = Request::int('send_as_email');
+ $this->user->email_forward = Request::int('send_as_email', 0);
$this->user->store();
// write to user config table