From bc0a18538cb61b98e224f4575d68ce31e2315d2e Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Wed, 17 Aug 2016 12:10:53 +0800 Subject: [PATCH] Fix undefined array notice in access settings --- core/um-actions-access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;