From d4c35edef4db6ca318757b4b100b941570c7b29a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Aug 2021 16:55:56 +0200 Subject: [PATCH] Update pdf.php --- htdocs/admin/pdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php index 0d17d534981..2ff2a4c0ede 100644 --- a/htdocs/admin/pdf.php +++ b/htdocs/admin/pdf.php @@ -389,10 +389,10 @@ print ''; print ''.$langs->trans("MAIN_PDF_HIDE_CUSTOMER_CODE"); print ''; if ($conf->use_javascript_ajax) { - print ajax_constantonoff('DOC_SHOW_CUSTOMER_CODE'); + print ajax_constantonoff('MAIN_PDF_HIDE_CUSTOMER_CODE'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("DOC_SHOW_CUSTOMER_CODE", $arrval, $conf->global->DOC_SHOW_CUSTOMER_CODE); + print $form->selectarray("MAIN_PDF_HIDE_CUSTOMER_CODE", $arrval, $conf->global->MAIN_PDF_HIDE_CUSTOMER_CODE); } print '';