Update viewcat.php

This commit is contained in:
Laurent Destailleur 2019-12-18 12:29:16 +01:00 committed by GitHub
parent 1b60fb7702
commit 0f5bf891e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ $head = categories_prepare_head($object,$type);
dol_fiche_head($head, 'card', $title, -1, 'category');
$linkback=(GETPOST('linkback') ? GETPOST('linkback'):DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type);
$linkback=(GETPOST('backtolist') ? GETPOST('backtolist') : DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type);
$linkback = '<a href="'.$linkback.'\">'.$langs->trans("BackToList").'</a>';
$object->next_prev_filter=" type = ".$object->type;
$object->ref = $object->label;