Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -184,8 +184,13 @@ class _moderators extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
|
||||
if ( $values = $form->values() )
|
||||
{
|
||||
{
|
||||
$rowId = NULL;
|
||||
|
||||
if( !isset( $values['moderators_type'] ) )
|
||||
{
|
||||
$values['moderators_type'] = isset( $values['moderators_group'] ) ? 'g' : 'm';
|
||||
}
|
||||
|
||||
if ( $values['moderators_type'] === 'g' or !\IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'staff', 'moderators_add_member' ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user