summaryrefslogtreecommitdiff
path: root/includes/pages/user_settings.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-13 10:48:39 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-13 10:48:39 +0200
commitdf526fa2bfa378000ec41f3984dc0d56bbd7172f (patch)
tree687f31a6c689d6abd072c1970bb21ba6a6684077 /includes/pages/user_settings.php
parent5742306095b742bdc2d574968d6ee0c4c7c876ec (diff)
fix problem with beeing informed about shift changes
Diffstat (limited to 'includes/pages/user_settings.php')
-rw-r--r--includes/pages/user_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php
index f3c48c40..d210ed56 100644
--- a/includes/pages/user_settings.php
+++ b/includes/pages/user_settings.php
@@ -90,7 +90,7 @@ function user_settings() {
`DECT`='" . sql_escape($dect) . "',
`Handy`='" . sql_escape($mobile) . "',
`email`='" . sql_escape($mail) . "',
- `email_shiftinfo`='" . sql_escape($email_shiftinfo ? 'TRUE' : 'FALSE') . "',
+ `email_shiftinfo`=" . sql_bool($email_shiftinfo) . ",
`jabber`='" . sql_escape($jabber) . "',
`Size`='" . sql_escape($tshirt_size) . "',
`Hometown`='" . sql_escape($hometown) . "',