mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 10:36:20 +02:00
Fixes #4095 - Userclass selection was not being saved in "Quick Add User" due to modification for Issue #1728. Both issues now resolved.
This commit is contained in:
@ -1410,12 +1410,12 @@ class users_admin_ui extends e_admin_ui
|
||||
|
||||
$_POST['password2'] = $_POST['password1'] = $_POST['password'];
|
||||
|
||||
// #1728 - Default value, because user will always be part of 'Members'
|
||||
$_POST['class'][] = e_UC_MEMBER;
|
||||
|
||||
// Now validate everything
|
||||
$allData = validatorClass::validateFields($_POST, $userMethods->userVettingInfo, true);
|
||||
|
||||
// #1728 - Default value, because user will always be part of 'Members'
|
||||
$allData['data']['user_class'] = '253';
|
||||
|
||||
// Fix Display and user name
|
||||
if (!check_class($pref['displayname_class'], $allData['data']['user_class']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user