mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix undefined array notice in access settings
This commit is contained in:
@@ -577,7 +577,7 @@
|
||||
}
|
||||
|
||||
// post restriction
|
||||
if ( isset( $args['custom_access_settings'] ) || $args['custom_access_settings'] == 1 ) {
|
||||
if ( isset( $args['custom_access_settings'] ) && $args['custom_access_settings'] == 1 ) {
|
||||
|
||||
$redirect_to = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user