Skip to content

Commit

Permalink
fix:follow url back link
Browse files Browse the repository at this point in the history
  • Loading branch information
bafbes committed Oct 19, 2018
1 parent fecb6e4 commit e95d93e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions htdocs/categories/viewcat.php
Expand Up @@ -197,8 +197,7 @@


dol_fiche_head($head, 'card', $title, -1, 'category');

$linkback = '<a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("BackToList").'</a>';
$linkback=(GETPOST('linkback') ? GETPOST('linkback'): '<a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("BackToList").'</a>');
$object->next_prev_filter=" type = ".$object->type;
$object->ref = $object->label;
$morehtmlref='<br><div class="refidno"><a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("Root").'</a> >> ';
Expand Down

0 comments on commit e95d93e

Please sign in to comment.