diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php index f2f972adc5f..40fd36507f5 100644 --- a/htdocs/compta/paiement/cheque/fiche.php +++ b/htdocs/compta/paiement/cheque/fiche.php @@ -331,7 +331,7 @@ if ($_GET['action'] == 'new') else { $object=$remisecheque; - + $linkback="".$langs->trans("BackToList").""; $paymentstatic=new Paiement($db); $accountlinestatic=new AccountLine($db); $accountstatic=new Account($db); @@ -342,7 +342,7 @@ else print ''; print '"; print "\n"; diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 170e20bc7ca..62f6d31acd7 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3130,7 +3130,7 @@ class Form } /** - * Return a HTML area with the reference of object and a naviagation bar for a business object + * Return a HTML area with the reference of object and a navigation bar for a business object * To add a particular filter on select, you must set $object->next_prev_filter to SQL criteria. * @param object Object to show * @param paramid Name of parameter to use to name the id into the URL link
'.$langs->trans('Ref').''; - print $html->showrefnav($remisecheque,'ref','', 1, 'number'); + print $html->showrefnav($remisecheque,'ref',$linkback, 1, 'number'); print "