mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Allow admin to update email address even if normally not allowed
This commit is contained in:
parent
dc0a97d81b
commit
b53e8adad7
2 changed files with 9 additions and 3 deletions
|
|
@ -595,7 +595,7 @@ class MemberAdminView extends Member
|
|||
}
|
||||
else if($formInfo->name == 'email_address')
|
||||
{
|
||||
if(isset($member_config->enable_confirm) && $member_config->enable_confirm === 'Y')
|
||||
if(isset($member_config->enable_confirm) && $member_config->enable_confirm === 'Y' && !$isAdmin)
|
||||
{
|
||||
$readonly = 'readonly="readonly" ';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue