From 86943d28ffe7918eb3ded2d4be08ecdc144cb45c Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Tue, 7 Feb 2017 10:55:12 +0800 Subject: [PATCH] Fix PHP 7 compatibility --- core/um-user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-user.php b/core/um-user.php index 2fa2639d..5cff0b67 100644 --- a/core/um-user.php +++ b/core/um-user.php @@ -798,7 +798,7 @@ class UM_User { *** @Get admin actions for individual user ***/ function get_admin_actions() { - $items = ''; + $items = array(); $actions = array(); $actions = apply_filters('um_admin_user_actions_hook', $actions ); if ( !isset( $actions ) || empty( $actions ) ) return false;