From c2ac22e2ec23c792957a1720aa58eac9dee772cd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 6 May 2024 14:58:12 +0200 Subject: [PATCH] Fix warning --- htdocs/admin/pdf_other.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/pdf_other.php b/htdocs/admin/pdf_other.php index 2c76236310c..85e8caa7cb6 100644 --- a/htdocs/admin/pdf_other.php +++ b/htdocs/admin/pdf_other.php @@ -275,7 +275,7 @@ if (isModEnabled('facture')) { '1'=>$langs->trans("InvoiceOptionCategoryOfOperationsYes1"), '2'=>$langs->trans("InvoiceOptionCategoryOfOperationsYes2") ); - print $form->selectarray("INVOICE_CATEGORY_OF_OPERATION", $arrval, $conf->global->INVOICE_CATEGORY_OF_OPERATION, 0, 0, 0, '', 0, 0, 0, '', 'minwidth75imp'); + print $form->selectarray("INVOICE_CATEGORY_OF_OPERATION", $arrval, getDolGlobalString('INVOICE_CATEGORY_OF_OPERATION'), 0, 0, 0, '', 0, 0, 0, '', 'minwidth75imp'); print ''; print '';