From ac61df7f0748894843514dd18e1e6f77bcfadd94 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Wed, 11 Jul 2018 20:30:41 +0200 Subject: [PATCH] Fixes #3239 The array merge didn't work correctly by using the + operator --- e107_plugins/user/e_dashboard.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_plugins/user/e_dashboard.php b/e107_plugins/user/e_dashboard.php index d7d7113f8..3c4b8f807 100644 --- a/e107_plugins/user/e_dashboard.php +++ b/e107_plugins/user/e_dashboard.php @@ -422,8 +422,9 @@ class user_dashboard // plugin-folder + '_url' "; - - $online = $ol->userList() + $ol->guestList(); + // Fixes #3239: The array merge didn't work correctly by using the + operator + $online = $ol->userList(); + $online = array_merge($online, $ol->guestList()); if($data == 'count') {