From e95d93e6313fb642e6ab1762e2cda4245f20ee20 Mon Sep 17 00:00:00 2001 From: Abbes Bahfir Date: Fri, 19 Oct 2018 17:31:26 +0100 Subject: [PATCH] fix:follow url back link --- htdocs/categories/viewcat.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index ba3580cea87..3bb309814b3 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -197,8 +197,7 @@ $head = categories_prepare_head($object,$type); dol_fiche_head($head, 'card', $title, -1, 'category'); - -$linkback = ''.$langs->trans("BackToList").''; +$linkback=(GETPOST('linkback') ? GETPOST('linkback'): ''.$langs->trans("BackToList").''); $object->next_prev_filter=" type = ".$object->type; $object->ref = $object->label; $morehtmlref='
'.$langs->trans("Root").' >> ';