diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-29 16:00:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-29 16:00:54 +0200 |
commit | 8265dac9c0127c55c378094b5ccceddc1d66bea4 (patch) | |
tree | c94c4a57240d1c42bfcec2f32fac9b6fd7238570 /Zotlabs/Module/Admin/Account_edit.php | |
parent | 6eeac03a0e42ae88218b76948aedfa541022718c (diff) | |
parent | ba4a8aa7623038fd9926b58d826e7cb733176b48 (diff) | |
download | volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.tar.gz volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.tar.bz2 volse-hubzilla-8265dac9c0127c55c378094b5ccceddc1d66bea4.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Module/Admin/Account_edit.php')
-rw-r--r-- | Zotlabs/Module/Admin/Account_edit.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Admin/Account_edit.php b/Zotlabs/Module/Admin/Account_edit.php index 6dfadf183..0300fb10c 100644 --- a/Zotlabs/Module/Admin/Account_edit.php +++ b/Zotlabs/Module/Admin/Account_edit.php @@ -31,7 +31,7 @@ class Account_edit { } $service_class = trim($_REQUEST['service_class']); - $account_level = intval(trim($_REQUEST['account_level'])); + $account_level = 5; $account_language = trim($_REQUEST['account_language']); $r = q("update account set account_service_class = '%s', account_level = %d, account_language = '%s' @@ -68,7 +68,6 @@ class Account_edit { '$title' => t('Account Edit'), '$pass1' => [ 'pass1', t('New Password'), ' ','' ], '$pass2' => [ 'pass2', t('New Password again'), ' ','' ], - '$account_level' => [ 'account_level', t('Technical skill level'), $x[0]['account_level'], '', \Zotlabs\Lib\Techlevels::levels() ], '$account_language' => [ 'account_language' , t('Account language (for emails)'), $x[0]['account_language'], '', language_list() ], '$service_class' => [ 'service_class', t('Service class'), $x[0]['account_service_class'], '' ], '$submit' => t('Submit'), @@ -81,4 +80,4 @@ class Account_edit { } -}
\ No newline at end of file +} |