Merge pull request #9710 from bafbes/abb80032

Fix: Searching on employee field disables employee mode
This commit is contained in:
Laurent Destailleur 2018-10-09 14:09:23 +02:00 committed by GitHub
commit 362c226ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;