From 298be09ee25071188526bd8f61abc57693221ab6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Feb 2016 03:38:56 +0100 Subject: [PATCH] Uniformize behaviour by adding the back to list on thirdparty card --- htdocs/societe/soc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 8852f22686f..1d269753536 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -108,7 +108,7 @@ if (empty($reshook)) exit; } } - + if ($action == 'confirm_merge' && $confirm == 'yes') { $object->fetch($socid); @@ -1921,8 +1921,9 @@ else dol_htmloutput_errors($error,$errors); + $linkback = ''.$langs->trans("BackToList").''; - dol_banner_tab($object, 'socid', '', ($user->societe_id?0:1), 'rowid', 'nom'); + dol_banner_tab($object, 'socid', $linkback, ($user->societe_id?0:1), 'rowid', 'nom'); print '
';