From 6371903a9937ddee5cce5c70d04c6dab4422b008 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Fri, 18 Dec 2015 21:22:01 +0800 Subject: [PATCH] Fixed page setup fallback field --- um-config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/um-config.php b/um-config.php index 049ac1be..dc8f9090 100644 --- a/um-config.php +++ b/um-config.php @@ -20,7 +20,7 @@ $core_pages = array( $core_pages = apply_filters('um_core_pages', $core_pages ); foreach( $core_pages as $page_s => $page ) { - if( empty( $ultimatemember->query->wp_pages() ) ){ + if( ! empty( $ultimatemember->query->wp_pages() ) ){ $page_setup[] = array( 'id' => 'core_' . $page_s, 'type' => 'select',