';
// Ref customer reception
diff --git a/htdocs/reception/note.php b/htdocs/reception/note.php
index 472b0255f5b..838128b871e 100644
--- a/htdocs/reception/note.php
+++ b/htdocs/reception/note.php
@@ -102,7 +102,7 @@ if ($id > 0 || ! empty($ref))
// Reception card
- $linkback = '
';
// Ref customer reception
diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php
index 23a7c30f77e..79255f268e3 100644
--- a/htdocs/societe/paymentmodes.php
+++ b/htdocs/societe/paymentmodes.php
@@ -1613,7 +1613,7 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer)
{
dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"), -1, 'company');
- $linkback = '
'.$langs->trans("BackToList").'';
+ $linkback = '
'.$langs->trans("BackToList").'';
dol_banner_tab($object, 'socid', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom');
@@ -1719,7 +1719,7 @@ if ($socid && $action == 'editcard' && $user->rights->societe->creer)
{
dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"), -1, 'company');
- $linkback = '
'.$langs->trans("BackToList").'';
+ $linkback = '
'.$langs->trans("BackToList").'';
dol_banner_tab($object, 'socid', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom');
@@ -1767,7 +1767,7 @@ if ($socid && $action == 'create' && $user->rights->societe->creer)
{
dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"), -1, 'company');
- $linkback = '
'.$langs->trans("BackToList").'';
+ $linkback = '
'.$langs->trans("BackToList").'';
dol_banner_tab($object, 'socid', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom');
@@ -1867,7 +1867,7 @@ if ($socid && $action == 'createcard' && $user->rights->societe->creer)
{
dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"), -1, 'company');
- $linkback = '
'.$langs->trans("BackToList").'';
+ $linkback = '
'.$langs->trans("BackToList").'';
dol_banner_tab($object, 'socid', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom');
diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php
index 3d91fac7c29..5b383f30e28 100644
--- a/htdocs/societe/price.php
+++ b/htdocs/societe/price.php
@@ -185,7 +185,7 @@ $head = societe_prepare_head($object);
dol_fiche_head($head, 'price', $langs->trans("ThirdParty"), -1, 'company');
-$linkback = '
'.$langs->trans("BackToList").'';
+$linkback = '
'.$langs->trans("BackToList").'';
dol_banner_tab($object, 'socid', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom');
diff --git a/htdocs/takepos/takepos.php b/htdocs/takepos/takepos.php
index ef987c84d86..0ea892eca8e 100644
--- a/htdocs/takepos/takepos.php
+++ b/htdocs/takepos/takepos.php
@@ -765,7 +765,7 @@ $menus[$r++]=array('title'=>'
<
print ''."\n";
print '';
?>
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index 9b24a8b68c6..24423f85d46 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -692,7 +692,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
*/
print '';
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
// Ref
print '| '.$langs->trans('Ref').' | ';
@@ -820,7 +820,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
$morehtmlref .= '';
- $linkback = ''.$langs->trans("BackToList").' ';
+ $linkback = ''.$langs->trans("BackToList").' ';
dol_banner_tab($object, 'ref', $linkback, ($user->socid ? 0 : 1), 'ref', 'ref', $morehtmlref);
diff --git a/htdocs/user/bank.php b/htdocs/user/bank.php
index 3c0b8423096..188a6b59d31 100644
--- a/htdocs/user/bank.php
+++ b/htdocs/user/bank.php
@@ -477,7 +477,7 @@ if ($id && ($action == 'edit' || $action == 'create') && $user->rights->user->us
$title = $langs->trans("User");
dol_fiche_head($head, 'bank', $title, 0, 'user');
- $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/class/user.class.php b/htdocs/user/class/user.class.php
index bbf3674ed18..387d227d6b4 100644
--- a/htdocs/user/class/user.class.php
+++ b/htdocs/user/class/user.class.php
@@ -918,6 +918,7 @@ class User extends CommonObject
else
{
$sql .= " AND gr.entity = ".$conf->entity;
+ $sql .= " AND gu.entity = ".$conf->entity;
$sql .= " AND r.entity = ".$conf->entity;
}
$sql .= " AND gr.fk_usergroup = gu.fk_usergroup";
diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php
index 22a06e352c8..dba57f3954b 100644
--- a/htdocs/user/param_ihm.php
+++ b/htdocs/user/param_ihm.php
@@ -329,7 +329,7 @@ else
{
dol_fiche_head($head, 'guisetup', $title, -1, 'user');
- $linkback = ''.$langs->trans("BackToList").'';
+ $linkback = ''.$langs->trans("BackToList").'';
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
|