From 4868970dc44f2f0f39b75a6fb9c60824b0ee5dde Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Fri, 31 Mar 2017 23:59:51 +0800 Subject: [PATCH] Fix PHP 7 compatibility issue --- core/um-actions-members.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-actions-members.php b/core/um-actions-members.php index e7d334f7..cfdcf339 100644 --- a/core/um-actions-members.php +++ b/core/um-actions-members.php @@ -6,7 +6,7 @@ function um_members_directory_search( $args ) { global $ultimatemember; - $search_filters = ''; + $search_filters = array(); if ( isset($args['search_fields']) ) { foreach( $args['search_fields'] as $k => $testfilter ){