diff --git a/htdocs/user/agenda_extsites.php b/htdocs/user/agenda_extsites.php
index 1764ab5baf4..2d94711aae8 100644
--- a/htdocs/user/agenda_extsites.php
+++ b/htdocs/user/agenda_extsites.php
@@ -157,7 +157,7 @@ dol_fiche_head($head, 'extsites', $langs->trans("User"), -1, 'user');
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/bank.php b/htdocs/user/bank.php
index 7f4084ab4fe..2f9fb787c72 100644
--- a/htdocs/user/bank.php
+++ b/htdocs/user/bank.php
@@ -194,7 +194,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php
index a4c4e90f99d..a6c43e2dc62 100644
--- a/htdocs/user/clicktodial.php
+++ b/htdocs/user/clicktodial.php
@@ -102,7 +102,7 @@ if ($id > 0)
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/document.php b/htdocs/user/document.php
index 8425c696382..2c41c1bf922 100644
--- a/htdocs/user/document.php
+++ b/htdocs/user/document.php
@@ -133,7 +133,7 @@ if ($object->id)
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/info.php b/htdocs/user/info.php
index 19ecf15eb65..3cecf94543b 100644
--- a/htdocs/user/info.php
+++ b/htdocs/user/info.php
@@ -72,7 +72,7 @@ dol_fiche_head($head, 'info', $title, -1, 'user');
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/ldap.php b/htdocs/user/ldap.php
index 4f9eac61d9f..6b8d0b2502e 100644
--- a/htdocs/user/ldap.php
+++ b/htdocs/user/ldap.php
@@ -98,7 +98,7 @@ dol_fiche_head($head, 'ldap', $title, 0, 'user');
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 5a8661663f6..c4664b07fb7 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -126,8 +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;
+if ($mode == 'employee' && ! GETPOSTISSET('search_employee')) $search_employee=1;
diff --git a/htdocs/user/note.php b/htdocs/user/note.php
index 5b787ded7b0..87a6785615e 100644
--- a/htdocs/user/note.php
+++ b/htdocs/user/note.php
@@ -93,7 +93,7 @@ if ($id)
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php
index 307b8ae5bc9..9403694faa9 100644
--- a/htdocs/user/notify/card.php
+++ b/htdocs/user/notify/card.php
@@ -137,7 +137,7 @@ if ($result > 0)
dol_fiche_head($head, 'notify', $langs->trans("User"), -1, 'user');
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin, 'rowid', 'ref', '', '', 0, '', '', 0, '');
diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php
index 76b25751806..60f1e23334f 100644
--- a/htdocs/user/param_ihm.php
+++ b/htdocs/user/param_ihm.php
@@ -182,7 +182,7 @@ if ($action == 'edit')
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php
index 0a8e2bbbb80..574aa44f89d 100644
--- a/htdocs/user/perms.php
+++ b/htdocs/user/perms.php
@@ -239,7 +239,7 @@ else
$linkback = '';
if ($user->rights->user->user->lire || $user->admin) {
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
}
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);