Skip to content

Commit

Permalink
Fixes #1728 - Set default member class when editing user in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed May 6, 2019
1 parent 2250d3c commit 184fd22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions e107_admin/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,9 @@ public function AddSubmitTrigger()
// 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']))
{
Expand Down

0 comments on commit 184fd22

Please sign in to comment.