From f626e4e85f5fa163974eacd0974a0a0c109b5a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 21 Aug 2025 15:52:41 +0200 Subject: [PATCH] fix Undefined variable $outputlangs (#35029) --- htdocs/expensereport/payment/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/expensereport/payment/card.php b/htdocs/expensereport/payment/card.php index bd58dbaad93..ec904009f44 100644 --- a/htdocs/expensereport/payment/card.php +++ b/htdocs/expensereport/payment/card.php @@ -124,7 +124,7 @@ print ''.$langs->trans('PaymentMode').''.$langs->trans("Payment print ''.$langs->trans('Numero').''.dol_escape_htmltag($object->num_payment).''; // Amount -print ''.$langs->trans('Amount').''.price($object->amount, 0, $outputlangs, 1, -1, -1, $conf->currency).''; +print ''.$langs->trans('Amount').''.price($object->amount, 0, $langs, 1, -1, -1, $conf->currency).''; // Note public print ''.$langs->trans('Note').''.dol_string_onlythesehtmltags(dol_htmlentitiesbr($object->note_public)).'';