From 88c2054453d822caa386674173e1a54f1da89e8e Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 24 Nov 2011 11:56:48 +0100 Subject: [PATCH] Minor - Adding warning message --- main/admin/session_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/admin/session_list.php b/main/admin/session_list.php index e3d8e34e53..ce9a745388 100644 --- a/main/admin/session_list.php +++ b/main/admin/session_list.php @@ -227,9 +227,9 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') { //if(count($sessions)==0 && isset($_POST['keyword'])) { if(count($sessions)==0) { if (isset($_GET['id_category'])) { - echo get_lang('NoSession'); + Display::display_warning_message(get_lang('NoSession')); } else { - echo get_lang('NoSearchResults'); + Display::display_warning_message(get_lang('NoSearchResults')); } echo ' '; } else {