From 603c70ffc740599d63aef0b8409aa34764f864bc Mon Sep 17 00:00:00 2001 From: Abbes Bahfir Date: Tue, 9 Oct 2018 00:25:42 +0100 Subject: [PATCH] Fix: Searching on employee field disables employee mode --- htdocs/user/list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/user/list.php b/htdocs/user/list.php index 869e5d272ce..5a8661663f6 100644 --- a/htdocs/user/list.php +++ b/htdocs/user/list.php @@ -126,6 +126,7 @@ $optioncss = GETPOST('optioncss','alpha'); // Default search if ($search_statut == '') $search_statut='1'; +if(!empty($search_employee))$mode =''; if ($mode == 'employee') $search_employee=1;