diff --git a/core/um-actions-access.php b/core/um-actions-access.php index a3fc630e..731a9191 100644 --- a/core/um-actions-access.php +++ b/core/um-actions-access.php @@ -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;