aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-28 17:16:16 -0700
committerfriendica <info@friendica.com>2013-05-28 17:16:16 -0700
commit0daaf35ff8cc863ad95d68302fb14dbcea740374 (patch)
tree8af0d6c4b2836e4b38bb831b592b661ca26c05c9 /mod/settings.php
parent6bb35832674e35aa4505cd636b6f42c6d0a1a7f4 (diff)
downloadvolse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.tar.gz
volse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.tar.bz2
volse-hubzilla-0daaf35ff8cc863ad95d68302fb14dbcea740374.zip
fix location setting stuff
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 2a3e76dd8..5ee6b5d15 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_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",
+ $r = q("update channel set channel_name = '%s', channel_timezone = '%s', channel_location = '%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),
+ dbesc($defloc),
intval($notify),
intval($unkmail),
intval($maxreq),