From a85f27248ee6839a58d02f4214bce975188977b9 Mon Sep 17 00:00:00 2001 From: Anthony Berton <34568357+bb2a@users.noreply.github.com> Date: Fri, 4 Feb 2022 09:28:01 +0100 Subject: [PATCH] Update pdf.php --- htdocs/admin/pdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php index 4883d8ce464..64c93e1101b 100644 --- a/htdocs/admin/pdf.php +++ b/htdocs/admin/pdf.php @@ -570,7 +570,7 @@ print ''; print ''.$langs->trans("PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME").''; if ($conf->use_javascript_ajax) { - print ajax_constantonoff('PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME'); + print ajax_constantonoff('PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME', array(), null, 0, 0, 1); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); print $form->selectarray("PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME", $arrval, $conf->global->PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME);