aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-21 01:30:16 -0700
committerfriendica <info@friendica.com>2013-03-21 01:30:16 -0700
commit6a82fd609a5761072206b151846271bbefd92041 (patch)
tree944c5fa307d4740cac9344a268d819efaa82ef32 /mod
parent117da45c70481623f3eeb7d2ef745e6f3c8632dc (diff)
parent166596939b3af98b5f86688a16d3e4add2c28209 (diff)
downloadvolse-hubzilla-6a82fd609a5761072206b151846271bbefd92041.tar.gz
volse-hubzilla-6a82fd609a5761072206b151846271bbefd92041.tar.bz2
volse-hubzilla-6a82fd609a5761072206b151846271bbefd92041.zip
Merge pull request #39 from zzottel/master
update channel notify flags on save 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),