From 865c626a3742fd6a819b7b9ef4984052e95a9f92 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 19 Feb 2017 19:28:18 -0500 Subject: [PATCH] Minor - Fix notice message --- main/social/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/social/search.php b/main/social/search.php index bc4a4a0a18..a324c150ec 100755 --- a/main/social/search.php +++ b/main/social/search.php @@ -111,7 +111,7 @@ if ($query != '' || ($query_vars['search_type']=='1' && count($query_vars)>2)) { ] ); - if ($user_info['user_is_online']) { + if (!empty($user_info['user_is_online'])) { $status_icon = Display::return_icon('online.png', get_lang('OnLine'), null, ICON_SIZE_TINY); } else { $status_icon = Display::return_icon('offline.png', get_lang('Disconnected'), null, ICON_SIZE_TINY);