]> git.mxchange.org Git - friendica.git/commitdiff
Use correct variable to store user.page-flags in mod/settings
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Nov 2019 14:12:10 +0000 (09:12 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Nov 2019 14:12:10 +0000 (09:12 -0500)
mod/settings.php

index 79c007979c95d15c7221b47ff8df42ff74546d53..b102fd3bd66bf2764f558c257c29c0561f3d2264 100644 (file)
@@ -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];