aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2013-03-21 09:02:10 +0100
committerzottel <github@zottel.net>2013-03-21 09:02:10 +0100
commit166596939b3af98b5f86688a16d3e4add2c28209 (patch)
tree944c5fa307d4740cac9344a268d819efaa82ef32 /mod
parent117da45c70481623f3eeb7d2ef745e6f3c8632dc (diff)
downloadvolse-hubzilla-166596939b3af98b5f86688a16d3e4add2c28209.tar.gz
volse-hubzilla-166596939b3af98b5f86688a16d3e4add2c28209.tar.bz2
volse-hubzilla-166596939b3af98b5f86688a16d3e4add2c28209.zip
write notify settings to channel table when saving settings
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index da6cf709c..54e96d118 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -500,9 +500,10 @@ function settings_post(&$a) {
);
*/
- $r = q("update channel set channel_name = '%s', channel_timezone = '%s', channel_max_anon_mail = %d, channel_max_friend_req = %d, channel_expire_days = %d, channel_r_stream = %d, channel_r_profile = %d, channel_r_photos = %d, channel_r_abook = %d, channel_w_stream = %d, channel_w_wall = %d, channel_w_tagwall = %d, channel_w_comment = %d, channel_w_mail = %d, channel_w_photos = %d, channel_w_chat = %d, channel_a_delegate = %d, channel_r_storage = %d, channel_w_storage = %d, channel_r_pages = %d, channel_w_pages = %d where channel_id = %d limit 1",
+ $r = q("update channel set channel_name = '%s', channel_timezone = '%s', channel_notifyflags = %d, channel_max_anon_mail = %d, channel_max_friend_req = %d, channel_expire_days = %d, channel_r_stream = %d, channel_r_profile = %d, channel_r_photos = %d, channel_r_abook = %d, channel_w_stream = %d, channel_w_wall = %d, channel_w_tagwall = %d, channel_w_comment = %d, channel_w_mail = %d, channel_w_photos = %d, channel_w_chat = %d, channel_a_delegate = %d, channel_r_storage = %d, channel_w_storage = %d, channel_r_pages = %d, channel_w_pages = %d where channel_id = %d limit 1",
dbesc($username),
dbesc($timezone),
+ intval($notify),
intval($unkmail),
intval($maxreq),
intval($expire),