From 28537dbf63617108d7421d054147e25028167e60 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 9 Nov 2019 09:12:10 -0500 Subject: [PATCH] Use correct variable to store user.page-flags in mod/settings --- mod/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/settings.php b/mod/settings.php index 79c007979..b102fd3bd 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -596,7 +596,7 @@ function settings_post(App $a) $fields = ['username' => $username, 'email' => $email, 'timezone' => $timezone, 'allow_cid' => $str_contact_allow, 'allow_gid' => $str_group_allow, 'deny_cid' => $str_contact_deny, 'deny_gid' => $str_group_deny, - 'notify-flags' => $notify, 'page-flags' => $notify, 'account-type' => $account_type, 'default-location' => $defloc, + 'notify-flags' => $notify, 'page-flags' => $page_flags, 'account-type' => $account_type, 'default-location' => $defloc, 'allow_location' => $allow_location, 'maxreq' => $maxreq, 'expire' => $expire, 'def_gid' => $def_gid, 'blockwall' => $blockwall, 'hidewall' => $hide_wall, 'blocktags' => $blocktags, 'unkmail' => $unkmail, 'cntunkmail' => $cntunkmail, 'language' => $language];